Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108.8 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.066/3.066, allocations: 489.3 MB / 0.7687 GB, free: 3.812 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 163.8 MB / 1.263 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0389/1.106, allocations: 30.78 MB / 1.293 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02737/1.134, allocations: 13.6 MB / 1.306 GB, free: 9.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/1.139, allocations: 142.2 kB / 1.306 GB, free: 9.633 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/1.149, allocations: 3.197 MB / 1.309 GB, free: 7.691 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01109/1.16, allocations: 2.657 MB / 1.312 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007181/1.167, allocations: 2.014 MB / 1.314 GB, free: 4.945 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01398/1.181, allocations: 7.617 MB / 1.321 GB, free: 1.523 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/1.196, allocations: 8.217 MB / 1.329 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008203/1.205, allocations: 3.416 MB / 1.333 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008757/1.214, allocations: 3.383 MB / 1.336 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002861/1.216, allocations: 0.5999 MB / 1.336 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/1.223, allocations: 1.489 MB / 1.338 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006468/1.229, allocations: 2.368 MB / 1.34 GB, free: 9.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01177/1.241, allocations: 2.885 MB / 1.343 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02312/1.264, allocations: 9.488 MB / 1.352 GB, free: 2.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.264, allocations: 4 kB / 1.352 GB, free: 2.688 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.715e-06/1.264, allocations: 0 / 1.352 GB, free: 2.688 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000528/1.265, allocations: 0 / 1.352 GB, free: 2.688 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02193/1.287, allocations: 5.265 MB / 1.357 GB, free: 15.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.287, allocations: 13.06 kB / 1.357 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007828/1.295, allocations: 1.023 MB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008692/1.303, allocations: 3.093 MB / 1.361 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/1.304, allocations: 318.3 kB / 1.362 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/1.306, allocations: 422.1 kB / 1.362 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/1.326, allocations: 6.793 MB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002591/1.327, allocations: 23.73 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/1.328, allocations: 184.2 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001087/1.329, allocations: 369.5 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/1.342, allocations: 5.117 MB / 1.374 GB, free: 5.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04635/1.389, allocations: 30.57 MB / 1.404 GB, free: 4.203 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.391, allocations: 1.383 MB / 1.406 GB, free: 2.809 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/1.393, allocations: 1.335 MB / 1.407 GB, free: 1.48 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.393, allocations: 17.31 kB / 1.407 GB, free: 1.465 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/1.393, allocations: 55.8 kB / 1.407 GB, free: 1.402 MB / 1.092 GB Notification: Performance of pre-optimization done (n=130): time 3.135e-06/1.393, allocations: 0 / 1.407 GB, free: 1.402 MB / 1.092 GB Notification: Performance of matching and sorting (n=199): time 0.09188/1.485, allocations: 23.16 MB / 1.43 GB, free: 10.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/1.485, allocations: 73.41 kB / 1.43 GB, free: 10.04 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/1.489, allocations: 2.066 MB / 1.432 GB, free: 7.953 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004472/1.49, allocations: 61.7 kB / 1.432 GB, free: 7.887 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.492, allocations: 2.059 MB / 1.434 GB, free: 5.809 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.493, allocations: 0.7126 MB / 1.434 GB, free: 5.09 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/1.494, allocations: 416.4 kB / 1.435 GB, free: 4.676 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.494, allocations: 305.1 kB / 1.435 GB, free: 4.375 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/1.496, allocations: 1.43 MB / 1.436 GB, free: 2.941 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.499, allocations: 2.017 MB / 1.438 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/1.505, allocations: 3.688 MB / 1.442 GB, free: 12.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/1.505, allocations: 4 kB / 1.442 GB, free: 12.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01254/1.518, allocations: 5.674 MB / 1.448 GB, free: 7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/1.518, allocations: 16.25 kB / 1.448 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/1.518, allocations: 16 kB / 1.448 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007425/1.525, allocations: 2.079 MB / 1.45 GB, free: 4.836 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.527, allocations: 375.4 kB / 1.45 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04445/1.572, allocations: 38.46 MB / 1.488 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.575, allocations: 127.9 kB / 1.488 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/1.575, allocations: 92 kB / 1.488 GB, free: 11.26 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003516/1.579, allocations: 1.504 MB / 1.489 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008907/1.58, allocations: 298.2 kB / 1.49 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.591, allocations: 5.215 MB / 1.495 GB, free: 4.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.591, allocations: 20 kB / 1.495 GB, free: 4.141 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.026e-05/1.591, allocations: 16 kB / 1.495 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.591, allocations: 11.97 kB / 1.495 GB, free: 4.113 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/1.611, allocations: 9.673 MB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.611, allocations: 8 kB / 1.504 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/1.612, allocations: 220.4 kB / 1.504 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006221/1.619, allocations: 1.85 MB / 1.506 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/1.619, allocations: 40 kB / 1.506 GB, free: 8.066 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04144/1.66, allocations: 37.47 MB / 1.543 GB, free: 60 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.66, allocations: 4 kB / 1.543 GB, free: 56 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009831/1.67, allocations: 4.926 MB / 1.548 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.672, allocations: 0.6318 MB / 1.548 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/1.672, allocations: 47.98 kB / 1.548 GB, free: 10.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.674, allocations: 127.8 kB / 1.548 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/1.675, allocations: 193.5 kB / 1.549 GB, free: 9.949 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.675, allocations: 60 kB / 1.549 GB, free: 9.891 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002182/1.677, allocations: 1.374 MB / 1.55 GB, free: 8.508 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.41e-07/1.677, allocations: 3.938 kB / 1.55 GB, free: 8.504 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003851/1.681, allocations: 1.047 MB / 1.551 GB, free: 7.457 MB / 1.248 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003457/1.681, allocations: 167 kB / 1.551 GB, free: 7.285 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.692, allocations: 6.299 MB / 1.557 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.692, allocations: 8.812 kB / 1.557 GB, free: 0.75 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007197/1.699, allocations: 4.409 MB / 1.562 GB, free: 12.11 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.704, allocations: 0.9922 MB / 1.563 GB, free: 11.14 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/1.72, allocations: 8.735 MB / 1.571 GB, free: 2.316 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.724, allocations: 3.175 MB / 1.574 GB, free: 15.11 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/1.725, allocations: 163.4 kB / 1.574 GB, free: 14.95 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/1.725, allocations: 0 / 1.574 GB, free: 14.95 MB / 1.279 GB Notification: Performance of Templates: time 1.131/2.856, allocations: 464.9 MB / 2.028 GB, free: 377.3 MB / 1.529 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 28.804219670128077]