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.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.001847/0.001847, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002283/0.002283, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 8.016 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.125/3.125, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001944/0.001944, allocations: 67.39 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3381, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03893/0.377, allocations: 32.16 MB / 1.384 GB, free: 8.203 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02363/0.4007, allocations: 14.02 MB / 1.398 GB, free: 10.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.4038, allocations: 198.4 kB / 1.398 GB, free: 9.953 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.008795/0.4126, allocations: 3.345 MB / 1.401 GB, free: 6.602 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007766/0.4204, allocations: 2.774 MB / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00546/0.4258, allocations: 2.078 MB / 1.406 GB, free: 1.734 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.4367, allocations: 7.618 MB / 1.414 GB, free: 10.09 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00908/0.4458, allocations: 4.654 MB / 1.418 GB, free: 5.316 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/0.4539, allocations: 3.638 MB / 1.422 GB, free: 1.668 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006738/0.4606, allocations: 3.504 MB / 1.425 GB, free: 14.15 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.4626, allocations: 0.5977 MB / 1.426 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.4668, allocations: 1.517 MB / 1.427 GB, free: 12.04 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003858/0.4707, allocations: 2.416 MB / 1.43 GB, free: 9.613 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005819/0.4765, allocations: 2.875 MB / 1.432 GB, free: 6.727 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.4898, allocations: 9.473 MB / 1.442 GB, free: 13.22 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4898, allocations: 0 / 1.442 GB, free: 13.22 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4898, allocations: 0 / 1.442 GB, free: 13.22 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003167/0.4901, allocations: 0 / 1.442 GB, free: 13.22 MB / 1.139 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.01394/0.504, allocations: 5.172 MB / 1.447 GB, free: 7.984 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5041, allocations: 12.03 kB / 1.447 GB, free: 7.973 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001892/0.506, allocations: 0.6164 MB / 1.447 GB, free: 7.344 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/0.5123, allocations: 1.024 MB / 1.448 GB, free: 6.316 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007898/0.5202, allocations: 3.009 MB / 1.451 GB, free: 3.215 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.5206, allocations: 316.8 kB / 1.452 GB, free: 2.902 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.5221, allocations: 419.9 kB / 1.452 GB, free: 2.492 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.5376, allocations: 6.76 MB / 1.459 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/0.5378, allocations: 19.83 kB / 1.459 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.5391, allocations: 184 kB / 1.459 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009464/0.54, allocations: 372 kB / 1.459 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.5512, allocations: 5.114 MB / 1.464 GB, free: 5.758 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04103/0.5923, allocations: 30.26 MB / 1.494 GB, free: 4.727 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.5945, allocations: 1.314 MB / 1.495 GB, free: 3.398 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.5963, allocations: 1.247 MB / 1.496 GB, free: 2.152 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.5964, allocations: 13.31 kB / 1.496 GB, free: 2.137 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.5965, allocations: 63.86 kB / 1.496 GB, free: 2.066 MB / 1.186 GB Notification: Performance of pre-optimization done (n=130): time 2.885e-06/0.5965, allocations: 0 / 1.496 GB, free: 2.066 MB / 1.186 GB Notification: Performance of matching and sorting (n=199): time 0.0838/0.6803, allocations: 22.84 MB / 1.518 GB, free: 11.16 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.6804, allocations: 73.39 kB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/0.684, allocations: 2.059 MB / 1.521 GB, free: 9 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.6842, allocations: 65.7 kB / 1.521 GB, free: 8.93 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.6858, allocations: 2.062 MB / 1.523 GB, free: 6.852 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007624/0.6866, allocations: 0.7087 MB / 1.523 GB, free: 6.137 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008833/0.6875, allocations: 416.4 kB / 1.524 GB, free: 5.723 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6876, allocations: 309.1 kB / 1.524 GB, free: 5.418 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.6899, allocations: 1.43 MB / 1.525 GB, free: 3.984 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.6926, allocations: 2.013 MB / 1.527 GB, free: 1.723 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005258/0.6979, allocations: 3.692 MB / 1.531 GB, free: 13.79 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.6979, allocations: 4 kB / 1.531 GB, free: 13.79 MB / 1.232 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01163/0.7095, allocations: 5.6 MB / 1.536 GB, free: 8.117 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.7096, allocations: 12 kB / 1.536 GB, free: 8.105 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.7096, allocations: 24.12 kB / 1.536 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006636/0.7162, allocations: 2.076 MB / 1.539 GB, free: 5.949 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.7178, allocations: 383.4 kB / 1.539 GB, free: 5.574 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04209/0.7598, allocations: 36.62 MB / 1.575 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.7621, allocations: 127.9 kB / 1.575 GB, free: 14.76 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.7625, allocations: 92 kB / 1.575 GB, free: 14.67 MB / 1.279 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.003036/0.7656, allocations: 1.508 MB / 1.576 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007196/0.7663, allocations: 298.2 kB / 1.577 GB, free: 12.86 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.7772, allocations: 5.145 MB / 1.582 GB, free: 7.641 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.7772, allocations: 20 kB / 1.582 GB, free: 7.621 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.379e-05/0.7773, allocations: 16 kB / 1.582 GB, free: 7.605 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.7773, allocations: 12.25 kB / 1.582 GB, free: 7.594 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/0.797, allocations: 9.574 MB / 1.591 GB, free: 13.81 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.797, allocations: 8 kB / 1.591 GB, free: 13.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009156/0.7979, allocations: 215.6 kB / 1.591 GB, free: 13.59 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/0.8039, allocations: 1.85 MB / 1.593 GB, free: 11.69 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.8042, allocations: 36 kB / 1.593 GB, free: 11.65 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6434/1.448, allocations: 35.62 MB / 1.628 GB, free: 212.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.448, allocations: 11.31 kB / 1.628 GB, free: 212.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009629/1.457, allocations: 4.86 MB / 1.633 GB, free: 210.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.459, allocations: 0.5495 MB / 1.633 GB, free: 210.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/1.459, allocations: 44.69 kB / 1.633 GB, free: 210.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.46, allocations: 133.1 kB / 1.633 GB, free: 210.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000687/1.461, allocations: 199.2 kB / 1.634 GB, free: 210.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.461, allocations: 58.25 kB / 1.634 GB, free: 210.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001849/1.463, allocations: 1.375 MB / 1.635 GB, free: 210.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.463, allocations: 0 / 1.635 GB, free: 210.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003135/1.466, allocations: 1.052 MB / 1.636 GB, free: 210 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 (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.00836/1.475, allocations: 5.47 MB / 1.641 GB, free: 207.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008783/1.483, allocations: 6.01 MB / 1.647 GB, free: 203.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.483, allocations: 1.188 kB / 1.647 GB, free: 203.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005934/1.489, allocations: 4.284 MB / 1.651 GB, free: 201.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/1.494, allocations: 1.004 MB / 1.652 GB, free: 200.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/1.537, allocations: 30.75 MB / 1.682 GB, free: 186.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/1.54, allocations: 3.123 MB / 1.685 GB, free: 184.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001684/1.542, allocations: 0.5183 MB / 1.686 GB, free: 183.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.543, allocations: 1.672 MB / 1.688 GB, free: 182.3 MB / 1.295 GB Notification: Performance of SimCode: time 8.42e-07/1.543, allocations: 0 / 1.688 GB, free: 182.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/1.7, allocations: 90.98 MB / 1.776 GB, free: 92.55 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/18.97, allocations: 2.812 kB / 1.776 GB, free: 92.55 MB / 1.295 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] 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/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: 26.106500778114423]