Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001868/0.001868, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002824/0.002824, allocations: 213.6 kB / 22.24 MB, free: 5.258 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.053/3.053, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00207/0.00207, allocations: 70.64 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.297, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02698/0.3239, allocations: 21.56 MB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3352, allocations: 6.183 MB / 1.352 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.3368, allocations: 127.1 kB / 1.352 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.341, allocations: 1.56 MB / 1.354 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.345, allocations: 1.731 MB / 1.356 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.3483, allocations: 1.34 MB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007214/0.3555, allocations: 5.928 MB / 1.363 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004924/0.3604, allocations: 3.213 MB / 1.366 GB, free: 8.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.3643, allocations: 2.493 MB / 1.368 GB, free: 6.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/0.3688, allocations: 2.916 MB / 1.371 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006961/0.3695, allocations: 456 kB / 1.371 GB, free: 2.648 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.3715, allocations: 1.038 MB / 1.372 GB, free: 1.609 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.3736, allocations: 2.077 MB / 1.374 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002048/0.3756, allocations: 1.762 MB / 1.376 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007287/0.3829, allocations: 7.355 MB / 1.383 GB, free: 6.379 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3829, allocations: 0 / 1.383 GB, free: 6.379 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3829, allocations: 0 / 1.383 GB, free: 6.379 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001162/0.383, allocations: 0 / 1.383 GB, free: 6.379 MB / 1.076 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.006752/0.3898, allocations: 3.843 MB / 1.387 GB, free: 2.488 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3898, allocations: 8.031 kB / 1.387 GB, free: 2.48 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006776/0.3905, allocations: 0.5015 MB / 1.388 GB, free: 1.969 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/0.3964, allocations: 1.231 MB / 1.389 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/0.4017, allocations: 2.304 MB / 1.391 GB, free: 14.38 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.4019, allocations: 242.4 kB / 1.391 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005777/0.4025, allocations: 312 kB / 1.392 GB, free: 13.84 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.4127, allocations: 6.442 MB / 1.398 GB, free: 7.086 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-05/0.4128, allocations: 15.88 kB / 1.398 GB, free: 7.07 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.4131, allocations: 139.9 kB / 1.398 GB, free: 6.934 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005144/0.4136, allocations: 406.3 kB / 1.398 GB, free: 6.535 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007934/0.4216, allocations: 4.662 MB / 1.403 GB, free: 1.863 MB / 1.092 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.02698/0.4486, allocations: 18.65 MB / 1.421 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.4507, allocations: 1.369 MB / 1.423 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.4527, allocations: 1.441 MB / 1.424 GB, free: 11.87 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.598e-05/0.4528, allocations: 17 kB / 1.424 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4528, allocations: 47.56 kB / 1.424 GB, free: 11.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.376e-06/0.4528, allocations: 0 / 1.424 GB, free: 11.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1497/0.6025, allocations: 37.07 MB / 1.46 GB, free: 6.672 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.6026, allocations: 69.41 kB / 1.46 GB, free: 6.59 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.6051, allocations: 1.454 MB / 1.462 GB, free: 5.129 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000289/0.6053, allocations: 49.7 kB / 1.462 GB, free: 5.074 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.6066, allocations: 1.586 MB / 1.463 GB, free: 3.473 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000806/0.6075, allocations: 0.6507 MB / 1.464 GB, free: 2.816 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008877/0.6083, allocations: 383.5 kB / 1.464 GB, free: 2.434 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6085, allocations: 305.1 kB / 1.465 GB, free: 2.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/0.6113, allocations: 1.78 MB / 1.466 GB, free: 356 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.6146, allocations: 2.346 MB / 1.469 GB, free: 13.75 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00642/0.621, allocations: 4.391 MB / 1.473 GB, free: 9.117 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.6211, allocations: 4 kB / 1.473 GB, free: 9.113 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01917/0.6402, allocations: 8.435 MB / 1.481 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.6403, allocations: 13.41 kB / 1.481 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.6403, allocations: 23.98 kB / 1.481 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/0.6558, allocations: 4.613 MB / 1.486 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.657, allocations: 299.5 kB / 1.486 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05214/0.7092, allocations: 31.58 MB / 1.517 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.7114, allocations: 155.8 kB / 1.517 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/0.7117, allocations: 80 kB / 1.517 GB, free: 11.18 MB / 1.217 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.002361/0.7141, allocations: 1.332 MB / 1.518 GB, free: 9.832 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/0.7146, allocations: 206.7 kB / 1.519 GB, free: 9.629 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/0.7332, allocations: 8.3 MB / 1.527 GB, free: 1.285 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.7332, allocations: 16 kB / 1.527 GB, free: 1.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/0.7333, allocations: 28 kB / 1.527 GB, free: 1.242 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/0.7333, allocations: 7.969 kB / 1.527 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02601/0.7593, allocations: 12.21 MB / 1.539 GB, free: 4.855 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.7593, allocations: 8.844 kB / 1.539 GB, free: 4.848 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.7601, allocations: 167.7 kB / 1.539 GB, free: 4.684 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/0.7749, allocations: 4.474 MB / 1.543 GB, free: 200 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/0.7752, allocations: 36 kB / 1.543 GB, free: 164 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04984/0.825, allocations: 31.19 MB / 1.574 GB, free: 272 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.825, allocations: 15.92 kB / 1.574 GB, free: 256 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/0.8426, allocations: 8.105 MB / 1.582 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/0.8444, allocations: 0.5492 MB / 1.582 GB, free: 7.461 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.8448, allocations: 40 kB / 1.582 GB, free: 7.422 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.8463, allocations: 139.8 kB / 1.582 GB, free: 7.285 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/0.8471, allocations: 180.7 kB / 1.582 GB, free: 7.109 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.8472, allocations: 52 kB / 1.583 GB, free: 7.059 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001476/0.8487, allocations: 0.9588 MB / 1.583 GB, free: 6.105 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.8487, allocations: 0 / 1.583 GB, free: 6.105 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003221/0.8519, allocations: 1.113 MB / 1.585 GB, free: 4.992 MB / 1.279 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.01837/0.8703, allocations: 8.7 MB / 1.593 GB, free: 12.15 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0137/0.884, allocations: 6.304 MB / 1.599 GB, free: 5.766 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.884, allocations: 0 / 1.599 GB, free: 5.766 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/0.8943, allocations: 4.206 MB / 1.603 GB, free: 1.477 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.8969, allocations: 0.5233 MB / 1.604 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6158/1.513, allocations: 33.52 MB / 1.637 GB, free: 253.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.515, allocations: 2.172 MB / 1.639 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009456/1.516, allocations: 384.7 kB / 1.639 GB, free: 252.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.517, allocations: 1.212 MB / 1.64 GB, free: 251.5 MB / 1.295 GB Notification: Performance of SimCode: time 7.91e-07/1.517, allocations: 0 / 1.64 GB, free: 251.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.641, allocations: 89.93 MB / 1.728 GB, free: 171.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.72, allocations: 6.938 kB / 1.728 GB, free: 171.1 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.5503638391383]