Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001511/0.001511, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001627/0.001627, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.021/3.021, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00211/0.00211, allocations: 73.3 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9093/0.9114, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03326/0.9447, allocations: 22.97 MB / 1.363 GB, free: 0.625 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.9614, allocations: 6.319 MB / 1.369 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.9648, allocations: 126.9 kB / 1.369 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006206/0.9711, allocations: 1.575 MB / 1.37 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007177/0.9782, allocations: 1.72 MB / 1.372 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005757/0.984, allocations: 1.349 MB / 1.373 GB, free: 9.523 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.9962, allocations: 5.942 MB / 1.379 GB, free: 6.906 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009655/1.006, allocations: 4.482 MB / 1.384 GB, free: 5.164 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006367/1.012, allocations: 2.478 MB / 1.386 GB, free: 4.062 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006749/1.019, allocations: 3.074 MB / 1.389 GB, free: 2.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/1.02, allocations: 456 kB / 1.389 GB, free: 2.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/1.023, allocations: 1.118 MB / 1.391 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003255/1.027, allocations: 2.09 MB / 1.393 GB, free: 1.762 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004685/1.031, allocations: 2.166 MB / 1.395 GB, free: 384 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.043, allocations: 7.317 MB / 1.402 GB, free: 12.9 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.043, allocations: 0 / 1.402 GB, free: 12.9 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.164e-06/1.043, allocations: 0 / 1.402 GB, free: 12.9 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002574/1.043, allocations: 2 kB / 1.402 GB, free: 12.9 MB / 1.092 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.013/1.056, allocations: 3.918 MB / 1.406 GB, free: 10.18 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.056, allocations: 8.969 kB / 1.406 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001213/1.056, allocations: 86.64 kB / 1.406 GB, free: 10.17 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/1.057, allocations: 0.5007 MB / 1.406 GB, free: 9.809 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006742/1.064, allocations: 1.23 MB / 1.407 GB, free: 9.18 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/1.069, allocations: 2.346 MB / 1.41 GB, free: 7.645 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/1.069, allocations: 250.8 kB / 1.41 GB, free: 7.523 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/1.07, allocations: 315.1 kB / 1.41 GB, free: 7.418 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.082, allocations: 6.21 MB / 1.416 GB, free: 3.629 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.001e-05/1.082, allocations: 14.45 kB / 1.416 GB, free: 3.621 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/1.082, allocations: 145 kB / 1.416 GB, free: 3.512 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005685/1.083, allocations: 401.7 kB / 1.417 GB, free: 3.391 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008694/1.091, allocations: 4.668 MB / 1.421 GB, free: 0.9961 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.03495/1.126, allocations: 28.99 MB / 1.45 GB, free: 5.168 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/1.129, allocations: 1.367 MB / 1.451 GB, free: 3.789 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/1.131, allocations: 1.434 MB / 1.452 GB, free: 2.355 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.131, allocations: 16.98 kB / 1.452 GB, free: 2.34 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.131, allocations: 51.5 kB / 1.453 GB, free: 2.281 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/1.131, allocations: 0 / 1.453 GB, free: 2.281 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1584/1.289, allocations: 37.14 MB / 1.489 GB, free: 13.07 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/1.289, allocations: 81.28 kB / 1.489 GB, free: 12.98 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/1.292, allocations: 1.423 MB / 1.49 GB, free: 11.55 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003106/1.292, allocations: 49.7 kB / 1.49 GB, free: 11.49 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.293, allocations: 1.59 MB / 1.492 GB, free: 9.887 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008382/1.294, allocations: 0.6429 MB / 1.493 GB, free: 9.238 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009169/1.295, allocations: 379.5 kB / 1.493 GB, free: 8.859 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.295, allocations: 305.1 kB / 1.493 GB, free: 8.559 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/1.298, allocations: 1.784 MB / 1.495 GB, free: 6.77 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/1.302, allocations: 2.346 MB / 1.497 GB, free: 4.168 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/1.308, allocations: 4.391 MB / 1.501 GB, free: 15.54 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/1.308, allocations: 8 kB / 1.501 GB, free: 15.53 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02033/1.329, allocations: 8.423 MB / 1.51 GB, free: 7.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/1.329, allocations: 19.98 kB / 1.51 GB, free: 7.051 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/1.329, allocations: 16 kB / 1.51 GB, free: 7.035 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01629/1.345, allocations: 4.631 MB / 1.514 GB, free: 2.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.346, allocations: 299.5 kB / 1.515 GB, free: 2.094 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05487/1.401, allocations: 32.63 MB / 1.546 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/1.404, allocations: 147.8 kB / 1.547 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/1.404, allocations: 87.97 kB / 1.547 GB, free: 380 kB / 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.003047/1.407, allocations: 1.341 MB / 1.548 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007192/1.408, allocations: 206.7 kB / 1.548 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02088/1.429, allocations: 8.289 MB / 1.556 GB, free: 6.484 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.429, allocations: 19.94 kB / 1.556 GB, free: 6.465 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-05/1.429, allocations: 24 kB / 1.556 GB, free: 6.441 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/1.429, allocations: 11.97 kB / 1.556 GB, free: 6.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/1.456, allocations: 12.7 MB / 1.569 GB, free: 9.559 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.456, allocations: 9.094 kB / 1.569 GB, free: 9.551 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/1.457, allocations: 167.7 kB / 1.569 GB, free: 9.387 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01576/1.473, allocations: 4.484 MB / 1.573 GB, free: 4.887 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003672/1.473, allocations: 36 kB / 1.573 GB, free: 4.852 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05272/1.526, allocations: 32.23 MB / 1.605 GB, free: 3.773 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.526, allocations: 11.98 kB / 1.605 GB, free: 3.762 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/1.545, allocations: 8.097 MB / 1.613 GB, free: 11.54 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.546, allocations: 0.6206 MB / 1.613 GB, free: 10.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.547, allocations: 47.98 kB / 1.613 GB, free: 10.86 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.548, allocations: 135.8 kB / 1.613 GB, free: 10.72 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008175/1.549, allocations: 165 kB / 1.614 GB, free: 10.56 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.549, allocations: 51.94 kB / 1.614 GB, free: 10.51 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001427/1.551, allocations: 0.9627 MB / 1.615 GB, free: 9.551 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.551, allocations: 0 / 1.615 GB, free: 9.551 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003514/1.554, allocations: 1.113 MB / 1.616 GB, free: 8.438 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.01881/1.573, allocations: 8.712 MB / 1.624 GB, free: 15.58 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.587, allocations: 6.296 MB / 1.63 GB, free: 9.215 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.587, allocations: 4 kB / 1.63 GB, free: 9.211 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01042/1.597, allocations: 4.194 MB / 1.634 GB, free: 4.938 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/1.6, allocations: 0.5327 MB / 1.635 GB, free: 4.414 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06663/1.667, allocations: 33.44 MB / 1.668 GB, free: 2.051 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/1.67, allocations: 2.723 MB / 1.67 GB, free: 15.29 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001063/1.671, allocations: 388.5 kB / 1.671 GB, free: 14.91 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.673, allocations: 1.218 MB / 1.672 GB, free: 13.69 MB / 1.357 GB Notification: Performance of SimCode: time 8.61e-07/1.673, allocations: 4 kB / 1.672 GB, free: 13.69 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/1.836, allocations: 84.58 MB / 1.754 GB, free: 9.559 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.97, allocations: 7.812 kB / 1.754 GB, free: 9.551 MB / 1.436 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.50808081298601]