Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007189/0.007189, allocations: 104.1 kB / 15.74 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.46/2.46, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8145, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02775/0.8423, allocations: 26.66 MB / 1.233 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.8568, allocations: 8.075 MB / 1.241 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00354/0.8604, allocations: 115.4 kB / 1.241 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006996/0.8675, allocations: 2.756 MB / 1.244 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.872, allocations: 1.589 MB / 1.246 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.8762, allocations: 1.664 MB / 1.247 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006884/0.8831, allocations: 6.146 MB / 1.253 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008712/0.8918, allocations: 7.314 MB / 1.26 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.896, allocations: 2.621 MB / 1.263 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/0.9003, allocations: 2.831 MB / 1.266 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.9021, allocations: 0.5078 MB / 1.266 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.9058, allocations: 1.287 MB / 1.267 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003304/0.9091, allocations: 2.047 MB / 1.269 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.914, allocations: 2.385 MB / 1.272 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.9264, allocations: 8.047 MB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.9265, allocations: 4 kB / 1.28 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9265, allocations: 3.938 kB / 1.28 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003927/0.9269, allocations: 0 / 1.28 GB, free: 3.203 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01329/0.9402, allocations: 4.232 MB / 1.284 GB, free: 14.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.9403, allocations: 8.031 kB / 1.284 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009961/0.9413, allocations: 0.5421 MB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/0.9454, allocations: 0.7961 MB / 1.285 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.9499, allocations: 2.584 MB / 1.288 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.9501, allocations: 271.6 kB / 1.288 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006339/0.9508, allocations: 376.4 kB / 1.288 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008371/0.9591, allocations: 5.988 MB / 1.294 GB, free: 4.027 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.831e-05/0.9593, allocations: 19.78 kB / 1.294 GB, free: 4.008 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/0.9596, allocations: 164 kB / 1.294 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005237/0.9601, allocations: 282.9 kB / 1.294 GB, free: 3.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006509/0.9667, allocations: 4.524 MB / 1.299 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.9923, allocations: 27.46 MB / 1.326 GB, free: 1.074 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.9937, allocations: 1.115 MB / 1.327 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.9948, allocations: 1.015 MB / 1.328 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.9949, allocations: 9 kB / 1.328 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.995, allocations: 51.55 kB / 1.328 GB, free: 14.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 2.965e-06/0.995, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.01907/1.014, allocations: 9.682 MB / 1.337 GB, free: 4.973 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.014, allocations: 68.72 kB / 1.337 GB, free: 4.895 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.016, allocations: 1.494 MB / 1.339 GB, free: 3.402 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.701e-05/1.016, allocations: 45.7 kB / 1.339 GB, free: 3.352 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009112/1.017, allocations: 1.663 MB / 1.34 GB, free: 1.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.017, allocations: 469.4 kB / 1.341 GB, free: 1.199 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/1.018, allocations: 339.1 kB / 1.341 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/1.018, allocations: 305.1 kB / 1.342 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.019, allocations: 0.9136 MB / 1.342 GB, free: 15.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/1.02, allocations: 1.459 MB / 1.344 GB, free: 13.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/1.023, allocations: 2.55 MB / 1.346 GB, free: 11.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.023, allocations: 8 kB / 1.346 GB, free: 11.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005302/1.029, allocations: 3.29 MB / 1.35 GB, free: 7.816 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/1.029, allocations: 12 kB / 1.35 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.029, allocations: 20 kB / 1.35 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/1.031, allocations: 0.7376 MB / 1.35 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.032, allocations: 383.4 kB / 1.351 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/1.047, allocations: 17.03 MB / 1.367 GB, free: 4.355 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.049, allocations: 99.89 kB / 1.367 GB, free: 4.258 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.049, allocations: 84 kB / 1.368 GB, free: 4.176 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002005/1.051, allocations: 1.305 MB / 1.369 GB, free: 2.859 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/1.051, allocations: 201.6 kB / 1.369 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/1.056, allocations: 2.788 MB / 1.372 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.056, allocations: 12 kB / 1.372 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.056, allocations: 11.94 kB / 1.372 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.056, allocations: 7.969 kB / 1.372 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/1.065, allocations: 6.221 MB / 1.378 GB, free: 9.418 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.065, allocations: 4 kB / 1.378 GB, free: 9.414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.066, allocations: 239.7 kB / 1.378 GB, free: 9.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/1.068, allocations: 0.671 MB / 1.379 GB, free: 8.48 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/1.068, allocations: 32 kB / 1.379 GB, free: 8.449 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.082, allocations: 16.79 MB / 1.395 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.082, allocations: 4 kB / 1.395 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006194/1.088, allocations: 4.008 MB / 1.399 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/1.089, allocations: 454.6 kB / 1.399 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/1.09, allocations: 35.92 kB / 1.399 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/1.09, allocations: 83.89 kB / 1.4 GB, free: 1.688 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/1.091, allocations: 116.7 kB / 1.4 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/1.091, allocations: 36 kB / 1.4 GB, free: 1.539 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001334/1.092, allocations: 0.9942 MB / 1.401 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 0 / 1.401 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002215/1.094, allocations: 0.6875 MB / 1.401 GB, free: 15.86 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005882/1.1, allocations: 4.607 MB / 1.406 GB, free: 11.13 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00522/1.106, allocations: 3.522 MB / 1.409 GB, free: 7.496 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.106, allocations: 0 / 1.409 GB, free: 7.496 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003058/1.109, allocations: 2.296 MB / 1.412 GB, free: 5.086 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/1.112, allocations: 0.6777 MB / 1.412 GB, free: 4.43 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/1.145, allocations: 21.13 MB / 1.433 GB, free: 14.43 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.148, allocations: 2.664 MB / 1.435 GB, free: 11.73 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001362/1.15, allocations: 493.4 kB / 1.436 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.151, allocations: 1.276 MB / 1.437 GB, free: 9.973 MB / 1.17 GB Notification: Performance of SimCode: time 7.92e-07/1.151, allocations: 4 kB / 1.437 GB, free: 9.969 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.287, allocations: 57.83 MB / 1.494 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.61, allocations: 3.906 kB / 1.494 GB, free: 0.8672 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches