Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0007669/0.0007669, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007758/0.0007758, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8519/0.8519, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.712/1.712, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.26e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008061/0.008084, allocations: 10.5 MB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006061/0.01414, allocations: 5.59 MB / 1.015 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008955/0.01504, allocations: 71.38 kB / 1.015 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.01729, allocations: 1.73 MB / 1.017 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.01988, allocations: 1.208 MB / 1.018 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.02145, allocations: 0.8245 MB / 1.019 GB, free: 9.52 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.02358, allocations: 2.181 MB / 1.021 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.02464, allocations: 1.018 MB / 1.022 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.02599, allocations: 1.212 MB / 1.023 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008714/0.02686, allocations: 0.8257 MB / 1.024 GB, free: 4.242 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.02708, allocations: 112 kB / 1.024 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.0285, allocations: 1.075 MB / 1.025 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.0289, allocations: 0.5686 MB / 1.026 GB, free: 2.484 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.02936, allocations: 0.5377 MB / 1.026 GB, free: 1.945 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.03186, allocations: 2.48 MB / 1.029 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.03187, allocations: 3.938 kB / 1.029 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.03187, allocations: 4 kB / 1.029 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.77e-05/0.03192, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002167/0.03409, allocations: 1.825 MB / 1.031 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.03413, allocations: 12.73 kB / 1.031 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.03429, allocations: 203.5 kB / 1.031 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.03668, allocations: 0.6903 MB / 1.032 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.03801, allocations: 0.9245 MB / 1.032 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.03807, allocations: 102.8 kB / 1.033 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.03822, allocations: 124.3 kB / 1.033 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.04043, allocations: 2.4 MB / 1.035 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.04046, allocations: 20.06 kB / 1.035 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/0.04056, allocations: 64.09 kB / 1.035 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.04069, allocations: 162.3 kB / 1.035 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.04265, allocations: 1.855 MB / 1.037 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006743/0.04939, allocations: 9.386 MB / 1.046 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.05173, allocations: 1.87 MB / 1.048 GB, free: 11.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.05228, allocations: 0.5503 MB / 1.049 GB, free: 10.59 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.05238, allocations: 20.98 kB / 1.049 GB, free: 10.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.05241, allocations: 51.56 kB / 1.049 GB, free: 10.51 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.925e-06/0.05241, allocations: 3.938 kB / 1.049 GB, free: 10.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.003761/0.05617, allocations: 3.129 MB / 1.052 GB, free: 7.363 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.05621, allocations: 60.41 kB / 1.052 GB, free: 7.293 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.05722, allocations: 0.9592 MB / 1.053 GB, free: 6.316 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.05727, allocations: 41.7 kB / 1.053 GB, free: 6.27 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.05759, allocations: 0.7416 MB / 1.053 GB, free: 5.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.0578, allocations: 404.5 kB / 1.054 GB, free: 5.121 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.05804, allocations: 283.4 kB / 1.054 GB, free: 4.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.05811, allocations: 305.1 kB / 1.054 GB, free: 4.539 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.0587, allocations: 0.6168 MB / 1.055 GB, free: 3.922 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.05948, allocations: 1.106 MB / 1.056 GB, free: 2.602 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.06095, allocations: 1.828 MB / 1.058 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.06096, allocations: 4 kB / 1.058 GB, free: 0.5508 MB / 1.01 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.3895/0.4505, allocations: 2.106 MB / 1.06 GB, free: 95.43 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4505, allocations: 11.72 kB / 1.06 GB, free: 95.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4505, allocations: 16.34 kB / 1.06 GB, free: 95.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.4509, allocations: 258.8 kB / 1.06 GB, free: 95.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.4516, allocations: 369.3 kB / 1.061 GB, free: 95.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.4547, allocations: 10.73 MB / 1.071 GB, free: 85.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.4555, allocations: 124.7 kB / 1.071 GB, free: 85.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.4555, allocations: 72.95 kB / 1.071 GB, free: 85.11 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004238/0.456, allocations: 402.3 kB / 1.072 GB, free: 84.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4561, allocations: 141.2 kB / 1.072 GB, free: 84.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.4575, allocations: 1.675 MB / 1.073 GB, free: 84.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4575, allocations: 11.72 kB / 1.073 GB, free: 84.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4575, allocations: 2.906 kB / 1.073 GB, free: 84.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4575, allocations: 13.61 kB / 1.073 GB, free: 84.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.4602, allocations: 3.111 MB / 1.076 GB, free: 82.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.4602, allocations: 8 kB / 1.076 GB, free: 82.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.4606, allocations: 218.8 kB / 1.077 GB, free: 82.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.4609, allocations: 247.7 kB / 1.077 GB, free: 82.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.461, allocations: 23.41 kB / 1.077 GB, free: 82.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.464, allocations: 10.71 MB / 1.087 GB, free: 72.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.464, allocations: 9.625 kB / 1.087 GB, free: 72.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.4655, allocations: 1.789 MB / 1.089 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.4659, allocations: 242.3 kB / 1.089 GB, free: 71.39 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.4659, allocations: 28.62 kB / 1.089 GB, free: 71.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.4663, allocations: 91.61 kB / 1.09 GB, free: 71.36 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4664, allocations: 103 kB / 1.09 GB, free: 71.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.4665, allocations: 35.42 kB / 1.09 GB, free: 71.33 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000445/0.4669, allocations: 0.6271 MB / 1.09 GB, free: 71.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4669, allocations: 0 / 1.09 GB, free: 71.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009001/0.4678, allocations: 393.1 kB / 1.091 GB, free: 71.03 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.4694, allocations: 2.379 MB / 1.093 GB, free: 69.56 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.4712, allocations: 2.399 MB / 1.095 GB, free: 68.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4712, allocations: 0.875 kB / 1.095 GB, free: 68.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008996/0.4721, allocations: 1.583 MB / 1.097 GB, free: 67.11 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.4731, allocations: 366.1 kB / 1.097 GB, free: 67 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009912/0.483, allocations: 11.51 MB / 1.108 GB, free: 60.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.4835, allocations: 0.7384 MB / 1.109 GB, free: 60.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006295/0.4842, allocations: 366.4 kB / 1.11 GB, free: 60.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.4845, allocations: 0.5379 MB / 1.11 GB, free: 60.08 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.4846, allocations: 0 / 1.11 GB, free: 60.08 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05863/0.5432, allocations: 30.61 MB / 1.14 GB, free: 56.67 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.947, allocations: 7.938 kB / 1.14 GB, free: 56.66 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 11.920009320601821]