Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 209.7 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.677/2.677, allocations: 476.8 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 68.72 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3111, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03053/0.3416, allocations: 23.63 MB / 1.306 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3539, allocations: 6.443 MB / 1.313 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.3562, allocations: 123.1 kB / 1.313 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004618/0.3608, allocations: 1.615 MB / 1.314 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.3652, allocations: 1.731 MB / 1.316 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.3688, allocations: 1.391 MB / 1.318 GB, free: 8.703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00838/0.3772, allocations: 5.944 MB / 1.323 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006655/0.3838, allocations: 3.228 MB / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.3882, allocations: 2.481 MB / 1.329 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/0.3936, allocations: 3.065 MB / 1.332 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.395, allocations: 456 kB / 1.332 GB, free: 9.422 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.3984, allocations: 1.119 MB / 1.333 GB, free: 8.301 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003497/0.4019, allocations: 2.089 MB / 1.335 GB, free: 6.207 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004549/0.4064, allocations: 2.17 MB / 1.338 GB, free: 4.027 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.417, allocations: 7.316 MB / 1.345 GB, free: 12.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.417, allocations: 0 / 1.345 GB, free: 12.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.417, allocations: 0 / 1.345 GB, free: 12.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002529/0.4173, allocations: 0 / 1.345 GB, free: 12.69 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009611/0.4269, allocations: 3.845 MB / 1.348 GB, free: 8.797 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.427, allocations: 8.031 kB / 1.348 GB, free: 8.789 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009485/0.4279, allocations: 0.5054 MB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005994/0.4339, allocations: 1.223 MB / 1.35 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.4395, allocations: 2.304 MB / 1.352 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4398, allocations: 242.4 kB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009795/0.4407, allocations: 319.9 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.4515, allocations: 6.209 MB / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-05/0.4516, allocations: 15.86 kB / 1.359 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003583/0.4519, allocations: 136 kB / 1.359 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005176/0.4524, allocations: 402.3 kB / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008731/0.4612, allocations: 4.666 MB / 1.364 GB, free: 8.461 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03575/0.4969, allocations: 28.74 MB / 1.392 GB, free: 8.996 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.4991, allocations: 1.377 MB / 1.394 GB, free: 7.605 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.5012, allocations: 1.444 MB / 1.395 GB, free: 6.16 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.5014, allocations: 9 kB / 1.395 GB, free: 6.152 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.5014, allocations: 43.5 kB / 1.395 GB, free: 6.098 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 2.816e-06/0.5014, allocations: 4 kB / 1.395 GB, free: 6.094 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.1319/0.6333, allocations: 37.06 MB / 1.431 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.6333, allocations: 73.34 kB / 1.431 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.6356, allocations: 1.419 MB / 1.433 GB, free: 15.47 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.6359, allocations: 53.7 kB / 1.433 GB, free: 15.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.637, allocations: 1.59 MB / 1.434 GB, free: 13.81 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007305/0.6378, allocations: 0.6428 MB / 1.435 GB, free: 13.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008363/0.6386, allocations: 383.5 kB / 1.435 GB, free: 12.78 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6387, allocations: 301.1 kB / 1.436 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.6414, allocations: 1.788 MB / 1.437 GB, free: 10.69 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.6446, allocations: 2.354 MB / 1.44 GB, free: 8.082 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/0.6507, allocations: 4.391 MB / 1.444 GB, free: 3.453 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.6507, allocations: 4 kB / 1.444 GB, free: 3.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01818/0.6689, allocations: 8.431 MB / 1.452 GB, free: 10.98 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.669, allocations: 12 kB / 1.452 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/0.669, allocations: 20 kB / 1.452 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01502/0.684, allocations: 4.635 MB / 1.457 GB, free: 6.297 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6853, allocations: 303.4 kB / 1.457 GB, free: 6 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0541/0.7394, allocations: 32.01 MB / 1.488 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.7415, allocations: 147.8 kB / 1.488 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003625/0.7418, allocations: 84 kB / 1.488 GB, free: 5.066 MB / 1.186 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002644/0.7445, allocations: 1.325 MB / 1.49 GB, free: 3.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/0.7451, allocations: 210.7 kB / 1.49 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/0.7642, allocations: 8.285 MB / 1.498 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.7643, allocations: 16 kB / 1.498 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-05/0.7643, allocations: 31.94 kB / 1.498 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/0.7644, allocations: 11.97 kB / 1.498 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02858/0.793, allocations: 12.68 MB / 1.51 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001546/0.7931, allocations: 12.84 kB / 1.51 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.7939, allocations: 163.7 kB / 1.511 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01487/0.8087, allocations: 4.488 MB / 1.515 GB, free: 9.605 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/0.809, allocations: 32 kB / 1.515 GB, free: 9.574 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05127/0.8603, allocations: 31.63 MB / 1.546 GB, free: 9.25 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.8603, allocations: 12.05 kB / 1.546 GB, free: 9.238 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/0.8778, allocations: 8.101 MB / 1.554 GB, free: 1.012 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/0.8796, allocations: 0.5453 MB / 1.554 GB, free: 476 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/0.8801, allocations: 44 kB / 1.554 GB, free: 432 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.8816, allocations: 135.8 kB / 1.555 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/0.8823, allocations: 180.8 kB / 1.555 GB, free: 116 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.8825, allocations: 44 kB / 1.555 GB, free: 72 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001654/0.8841, allocations: 0.9665 MB / 1.556 GB, free: 15.11 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.8841, allocations: 0 / 1.556 GB, free: 15.11 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003492/0.8876, allocations: 1.113 MB / 1.557 GB, free: 14 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01754/0.9052, allocations: 8.704 MB / 1.565 GB, free: 5.148 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01312/0.9183, allocations: 6.312 MB / 1.571 GB, free: 14.76 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.9183, allocations: 0 / 1.571 GB, free: 14.76 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00961/0.9279, allocations: 4.182 MB / 1.576 GB, free: 10.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.9309, allocations: 0.5402 MB / 1.576 GB, free: 9.965 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6194/1.55, allocations: 33.52 MB / 1.609 GB, free: 295.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/1.554, allocations: 2.727 MB / 1.611 GB, free: 295.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00118/1.555, allocations: 386.5 kB / 1.612 GB, free: 295 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.556, allocations: 1.217 MB / 1.613 GB, free: 295 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/1.556, allocations: 1.062 kB / 1.613 GB, free: 295 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.71, allocations: 86.6 MB / 1.698 GB, free: 229.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/16.22, allocations: 14.2 kB / 1.698 GB, free: 229.2 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.99018003488891]