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.001752/0.001752, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002249/0.002249, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 35.67 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="cs",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="cs",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.001942/0.001942, allocations: 66.27 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02879/0.3651, allocations: 21.53 MB / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.3773, allocations: 6.171 MB / 1.354 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3795, allocations: 131.1 kB / 1.354 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00462/0.3841, allocations: 1.558 MB / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.3886, allocations: 1.731 MB / 1.357 GB, free: 2.312 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.3925, allocations: 1.346 MB / 1.358 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.4, allocations: 5.928 MB / 1.364 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005841/0.4058, allocations: 3.24 MB / 1.367 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.4098, allocations: 2.493 MB / 1.37 GB, free: 5.191 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004908/0.4147, allocations: 3.065 MB / 1.373 GB, free: 2.117 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.416, allocations: 456 kB / 1.373 GB, free: 1.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.4189, allocations: 1.038 MB / 1.374 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003229/0.4221, allocations: 2.085 MB / 1.376 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.4261, allocations: 1.755 MB / 1.378 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.4368, allocations: 7.351 MB / 1.385 GB, free: 5.406 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.4368, allocations: 4 kB / 1.385 GB, free: 5.402 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4368, allocations: 0 / 1.385 GB, free: 5.402 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002718/0.4371, allocations: 0 / 1.385 GB, free: 5.402 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.01055/0.4476, allocations: 3.838 MB / 1.389 GB, free: 1.516 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4477, allocations: 12.03 kB / 1.389 GB, free: 1.504 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001184/0.4478, allocations: 90.55 kB / 1.389 GB, free: 1.414 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001512/0.4493, allocations: 0.5015 MB / 1.389 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006713/0.456, allocations: 1.231 MB / 1.391 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.4612, allocations: 2.304 MB / 1.393 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.4615, allocations: 242.4 kB / 1.393 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.4625, allocations: 312 kB / 1.393 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.4752, allocations: 6.446 MB / 1.4 GB, free: 6.016 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.4753, allocations: 7.938 kB / 1.4 GB, free: 6.008 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006855/0.476, allocations: 139.9 kB / 1.4 GB, free: 5.871 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/0.4765, allocations: 410.3 kB / 1.4 GB, free: 5.469 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008901/0.4854, allocations: 4.662 MB / 1.405 GB, free: 0.7969 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.03172/0.5171, allocations: 18.65 MB / 1.423 GB, free: 13.62 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.5194, allocations: 1.369 MB / 1.424 GB, free: 12.24 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.5216, allocations: 1.43 MB / 1.426 GB, free: 10.81 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5217, allocations: 21 kB / 1.426 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.5217, allocations: 43.5 kB / 1.426 GB, free: 10.74 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.296e-06/0.5217, allocations: 0 / 1.426 GB, free: 10.74 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1313/0.6531, allocations: 37.07 MB / 1.462 GB, free: 5.613 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.6532, allocations: 73.34 kB / 1.462 GB, free: 5.527 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.6556, allocations: 1.419 MB / 1.463 GB, free: 4.102 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003065/0.656, allocations: 57.7 kB / 1.464 GB, free: 4.039 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.6572, allocations: 1.586 MB / 1.465 GB, free: 2.438 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008233/0.658, allocations: 0.6429 MB / 1.466 GB, free: 1.789 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009151/0.659, allocations: 383.5 kB / 1.466 GB, free: 1.406 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6591, allocations: 305.1 kB / 1.466 GB, free: 1.105 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.6619, allocations: 1.784 MB / 1.468 GB, free: 15.32 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.6651, allocations: 2.35 MB / 1.47 GB, free: 12.71 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006248/0.6714, allocations: 4.387 MB / 1.475 GB, free: 8.09 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.6714, allocations: 4 kB / 1.475 GB, free: 8.086 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01825/0.6896, allocations: 8.438 MB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.6897, allocations: 13.88 kB / 1.483 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/0.6897, allocations: 32.75 kB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/0.7048, allocations: 4.608 MB / 1.487 GB, free: 10.94 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.706, allocations: 299.5 kB / 1.488 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04852/0.7545, allocations: 31.58 MB / 1.519 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.7565, allocations: 148.1 kB / 1.519 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.7568, allocations: 84 kB / 1.519 GB, free: 10.14 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.002431/0.7592, allocations: 1.325 MB / 1.52 GB, free: 8.805 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/0.7598, allocations: 210.7 kB / 1.52 GB, free: 8.598 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.7774, allocations: 8.296 MB / 1.528 GB, free: 260 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.7774, allocations: 23.94 kB / 1.528 GB, free: 236 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.7775, allocations: 24 kB / 1.528 GB, free: 212 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/0.7775, allocations: 7.969 kB / 1.528 GB, free: 204 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/0.8027, allocations: 12.22 MB / 1.54 GB, free: 3.812 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.8028, allocations: 8.844 kB / 1.54 GB, free: 3.805 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/0.8035, allocations: 163.7 kB / 1.541 GB, free: 3.645 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/0.8179, allocations: 4.474 MB / 1.545 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002977/0.8182, allocations: 36 kB / 1.545 GB, free: 15.12 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04805/0.8662, allocations: 31.19 MB / 1.575 GB, free: 15.23 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.8663, allocations: 11.94 kB / 1.575 GB, free: 15.22 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.8835, allocations: 8.109 MB / 1.583 GB, free: 6.984 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.885, allocations: 0.5453 MB / 1.584 GB, free: 6.438 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/0.8856, allocations: 43.94 kB / 1.584 GB, free: 6.395 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.8871, allocations: 139.8 kB / 1.584 GB, free: 6.258 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008469/0.888, allocations: 173.2 kB / 1.584 GB, free: 6.09 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.8882, allocations: 52 kB / 1.584 GB, free: 6.039 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001762/0.8899, allocations: 0.9587 MB / 1.585 GB, free: 5.086 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8899, allocations: 0 / 1.585 GB, free: 5.086 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003982/0.8939, allocations: 1.117 MB / 1.586 GB, free: 3.969 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.01811/0.912, allocations: 8.704 MB / 1.595 GB, free: 11.12 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01332/0.9253, allocations: 6.308 MB / 1.601 GB, free: 4.73 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.9254, allocations: 0 / 1.601 GB, free: 4.73 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009484/0.9348, allocations: 4.19 MB / 1.605 GB, free: 468 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6018/1.537, allocations: 0.5334 MB / 1.606 GB, free: 266.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06218/1.599, allocations: 33.52 MB / 1.638 GB, free: 255.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/1.602, allocations: 2.17 MB / 1.64 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001011/1.603, allocations: 392.5 kB / 1.641 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.604, allocations: 1.211 MB / 1.642 GB, free: 254.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.604, allocations: 0 / 1.642 GB, free: 254.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.75, allocations: 89.48 MB / 1.729 GB, free: 173.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/16.56, allocations: 4.062 kB / 1.729 GB, free: 173.9 MB / 1.295 GB " [Timeout remaining time 283] (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: 23.9497462939471]