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.001671/0.001671, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002124/0.002124, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.203/3.203, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.001991/0.001991, allocations: 63.84 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3155, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02997/0.3455, allocations: 22.96 MB / 1.343 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3575, allocations: 6.322 MB / 1.349 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.3593, allocations: 123.1 kB / 1.35 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.3636, allocations: 1.581 MB / 1.351 GB, free: 4.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004707/0.3683, allocations: 1.735 MB / 1.353 GB, free: 2.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.3719, allocations: 1.337 MB / 1.354 GB, free: 1.145 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007887/0.3798, allocations: 5.935 MB / 1.36 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00647/0.3863, allocations: 4.479 MB / 1.364 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.3907, allocations: 2.485 MB / 1.367 GB, free: 4.137 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005014/0.3957, allocations: 3.065 MB / 1.37 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.3969, allocations: 456 kB / 1.37 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.3999, allocations: 1.12 MB / 1.371 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.4026, allocations: 2.093 MB / 1.373 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.4058, allocations: 2.155 MB / 1.375 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009115/0.4149, allocations: 7.324 MB / 1.382 GB, free: 3.887 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4149, allocations: 0 / 1.382 GB, free: 3.887 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/0.415, allocations: 0 / 1.382 GB, free: 3.887 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001514/0.4151, allocations: 0 / 1.382 GB, free: 3.887 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.007631/0.4227, allocations: 3.914 MB / 1.386 GB, free: 15.91 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4228, allocations: 15.98 kB / 1.386 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008219/0.4236, allocations: 0.4976 MB / 1.387 GB, free: 15.38 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006459/0.4301, allocations: 1.235 MB / 1.388 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.4344, allocations: 2.353 MB / 1.39 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.4346, allocations: 250.4 kB / 1.391 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005804/0.4352, allocations: 308 kB / 1.391 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.4453, allocations: 6.212 MB / 1.397 GB, free: 4.719 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.4454, allocations: 19.81 kB / 1.397 GB, free: 4.699 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.4458, allocations: 147.9 kB / 1.397 GB, free: 4.555 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005338/0.4463, allocations: 402.3 kB / 1.397 GB, free: 4.16 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008119/0.4544, allocations: 4.658 MB / 1.402 GB, free: 15.49 MB / 1.107 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.03414/0.4886, allocations: 28.99 MB / 1.43 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.4908, allocations: 1.369 MB / 1.432 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.493, allocations: 1.433 MB / 1.433 GB, free: 12.97 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4931, allocations: 13 kB / 1.433 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.4931, allocations: 43.5 kB / 1.433 GB, free: 12.91 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 2.976e-06/0.4931, allocations: 0 / 1.433 GB, free: 12.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=179): time 0.1556/0.6487, allocations: 37.15 MB / 1.469 GB, free: 7.684 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.6487, allocations: 73.34 kB / 1.469 GB, free: 7.598 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.6508, allocations: 1.423 MB / 1.471 GB, free: 6.168 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/0.6511, allocations: 53.7 kB / 1.471 GB, free: 6.109 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.6524, allocations: 1.59 MB / 1.472 GB, free: 4.508 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007219/0.6531, allocations: 0.6351 MB / 1.473 GB, free: 3.867 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007855/0.6539, allocations: 387.5 kB / 1.473 GB, free: 3.48 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.654, allocations: 301.1 kB / 1.474 GB, free: 3.184 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/0.6567, allocations: 1.788 MB / 1.475 GB, free: 1.391 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.66, allocations: 2.346 MB / 1.478 GB, free: 14.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/0.6665, allocations: 4.394 MB / 1.482 GB, free: 10.16 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.6665, allocations: 4 kB / 1.482 GB, free: 10.15 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01942/0.6859, allocations: 8.423 MB / 1.49 GB, free: 1.691 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.6859, allocations: 14.34 kB / 1.49 GB, free: 1.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.686, allocations: 16 kB / 1.49 GB, free: 1.664 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/0.7019, allocations: 4.647 MB / 1.495 GB, free: 13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.7032, allocations: 299.5 kB / 1.495 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05368/0.7568, allocations: 32.63 MB / 1.527 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.759, allocations: 147.8 kB / 1.527 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.7592, allocations: 80 kB / 1.527 GB, free: 11 MB / 1.232 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.002225/0.7615, allocations: 1.34 MB / 1.529 GB, free: 9.645 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.7619, allocations: 206.7 kB / 1.529 GB, free: 9.441 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/0.7814, allocations: 8.285 MB / 1.537 GB, free: 1.113 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.7814, allocations: 16 kB / 1.537 GB, free: 1.098 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.756e-05/0.7815, allocations: 35.92 kB / 1.537 GB, free: 1.062 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/0.7815, allocations: 11.97 kB / 1.537 GB, free: 1.051 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/0.8081, allocations: 12.69 MB / 1.549 GB, free: 4.184 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.8081, allocations: 8.844 kB / 1.549 GB, free: 4.176 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.8089, allocations: 163.7 kB / 1.549 GB, free: 4.016 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01568/0.8246, allocations: 4.489 MB / 1.554 GB, free: 15.51 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/0.8248, allocations: 36 kB / 1.554 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05374/0.8786, allocations: 32.24 MB / 1.585 GB, free: 14.39 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.8786, allocations: 11.94 kB / 1.585 GB, free: 14.38 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/0.8975, allocations: 8.097 MB / 1.593 GB, free: 6.152 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.899, allocations: 0.6323 MB / 1.594 GB, free: 5.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.8995, allocations: 40 kB / 1.594 GB, free: 5.461 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.9012, allocations: 135.8 kB / 1.594 GB, free: 5.328 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008594/0.9021, allocations: 168.9 kB / 1.594 GB, free: 5.16 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.9023, allocations: 55.94 kB / 1.594 GB, free: 5.105 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001592/0.9039, allocations: 0.9626 MB / 1.595 GB, free: 4.148 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9039, allocations: 0 / 1.595 GB, free: 4.148 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003457/0.9073, allocations: 1.113 MB / 1.596 GB, free: 3.035 MB / 1.295 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.6816/1.589, allocations: 8.695 MB / 1.605 GB, free: 258.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.603, allocations: 6.305 MB / 1.611 GB, free: 257.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.603, allocations: 1.594 kB / 1.611 GB, free: 257.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.614, allocations: 4.191 MB / 1.615 GB, free: 256.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/1.617, allocations: 0.521 MB / 1.616 GB, free: 256.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05784/1.675, allocations: 33.46 MB / 1.648 GB, free: 242.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.677, allocations: 2.732 MB / 1.651 GB, free: 240.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001034/1.678, allocations: 387.3 kB / 1.651 GB, free: 240.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.679, allocations: 1.214 MB / 1.652 GB, free: 239.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.679, allocations: 3.781 kB / 1.652 GB, free: 239.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.803, allocations: 84.53 MB / 1.735 GB, free: 157.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.52, allocations: 8 kB / 1.735 GB, free: 157.2 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.634719298919663]