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.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.001404/0.001404, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001358/0.001358, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.738 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 2.95/2.95, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 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: "" <> 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 0.00221/0.00221, allocations: 59.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9311, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01032/0.9414, allocations: 11.27 MB / 1.315 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007482/0.9489, allocations: 5.846 MB / 1.321 GB, free: 20.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.9499, allocations: 51.03 kB / 1.321 GB, free: 20.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.9537, allocations: 1.753 MB / 1.322 GB, free: 19.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.9565, allocations: 1.186 MB / 1.324 GB, free: 18.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.9583, allocations: 0.8118 MB / 1.324 GB, free: 18.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.9603, allocations: 2.117 MB / 1.326 GB, free: 17.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.9613, allocations: 1.036 MB / 1.327 GB, free: 16.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.9626, allocations: 0.8596 MB / 1.328 GB, free: 16.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.9638, allocations: 0.9568 MB / 1.329 GB, free: 16.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.9641, allocations: 114.9 kB / 1.329 GB, free: 16.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.9661, allocations: 1.211 MB / 1.331 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.9666, allocations: 0.5396 MB / 1.331 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007904/0.9674, allocations: 0.7892 MB / 1.332 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.9717, allocations: 2.434 MB / 1.334 GB, free: 14.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9717, allocations: 1.812 kB / 1.334 GB, free: 14.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9717, allocations: 0 / 1.334 GB, free: 14.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.038e-05/0.9718, allocations: 0 / 1.334 GB, free: 14.16 MB / 1.061 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.003908/0.9757, allocations: 1.919 MB / 1.336 GB, free: 12.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9757, allocations: 8.75 kB / 1.336 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.976, allocations: 211.9 kB / 1.336 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/0.9808, allocations: 0.6843 MB / 1.337 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.9834, allocations: 1.013 MB / 1.338 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.9835, allocations: 98.11 kB / 1.338 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.9837, allocations: 122.5 kB / 1.338 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.9872, allocations: 2.216 MB / 1.34 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/0.9873, allocations: 14.48 kB / 1.34 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.9874, allocations: 57.47 kB / 1.34 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.9876, allocations: 166 kB / 1.341 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.9907, allocations: 1.861 MB / 1.342 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/1.002, allocations: 12.46 MB / 1.355 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/1.007, allocations: 1.875 MB / 1.356 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009438/1.008, allocations: 0.5583 MB / 1.357 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/1.008, allocations: 102.5 kB / 1.357 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.008, allocations: 48.25 kB / 1.357 GB, free: 14.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.965e-06/1.008, allocations: 0 / 1.357 GB, free: 14.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006966/1.015, allocations: 3.727 MB / 1.361 GB, free: 12.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.015, allocations: 67.22 kB / 1.361 GB, free: 12.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.016, allocations: 0.9158 MB / 1.362 GB, free: 12.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/1.016, allocations: 46.23 kB / 1.362 GB, free: 12.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005806/1.017, allocations: 0.7479 MB / 1.362 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/1.017, allocations: 406 kB / 1.363 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/1.018, allocations: 285.8 kB / 1.363 GB, free: 11.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.018, allocations: 303.1 kB / 1.363 GB, free: 10.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.019, allocations: 0.612 MB / 1.364 GB, free: 10.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/1.02, allocations: 1.115 MB / 1.365 GB, free: 9.785 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/1.023, allocations: 1.829 MB / 1.367 GB, free: 8.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/1.023, allocations: 4.031 kB / 1.367 GB, free: 8.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004301/1.028, allocations: 2.106 MB / 1.369 GB, free: 7.727 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.028, allocations: 12.22 kB / 1.369 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/1.028, allocations: 15.61 kB / 1.369 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009761/1.029, allocations: 259.7 kB / 1.369 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.03, allocations: 373.5 kB / 1.37 GB, free: 7.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.041, allocations: 11.59 MB / 1.381 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.042, allocations: 128.3 kB / 1.381 GB, free: 12.13 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.043, allocations: 70.5 kB / 1.381 GB, free: 12.12 MB / 1.092 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.00102/1.044, allocations: 405.5 kB / 1.381 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/1.044, allocations: 140.4 kB / 1.382 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/1.047, allocations: 1.67 MB / 1.383 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.047, allocations: 11.66 kB / 1.383 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.047, allocations: 6.344 kB / 1.383 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.047, allocations: 7.375 kB / 1.383 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007152/1.055, allocations: 3.295 MB / 1.386 GB, free: 9.613 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.055, allocations: 10 kB / 1.386 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/1.055, allocations: 222.9 kB / 1.387 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/1.056, allocations: 238.6 kB / 1.387 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.056, allocations: 32.58 kB / 1.387 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.066, allocations: 11.57 MB / 1.398 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.066, allocations: 11.23 kB / 1.398 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/1.07, allocations: 1.797 MB / 1.4 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.071, allocations: 310.4 kB / 1.4 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/1.071, allocations: 31.98 kB / 1.4 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/1.072, allocations: 91.86 kB / 1.4 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/1.072, allocations: 105.8 kB / 1.401 GB, free: 12.85 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/1.072, allocations: 35.42 kB / 1.401 GB, free: 12.84 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001034/1.073, allocations: 0.6203 MB / 1.401 GB, free: 12.59 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.073, allocations: 0 / 1.401 GB, free: 12.59 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001833/1.075, allocations: 398.4 kB / 1.402 GB, free: 12.54 MB / 1.107 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.003518/1.079, allocations: 2.387 MB / 1.404 GB, free: 11.05 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004072/1.083, allocations: 2.401 MB / 1.406 GB, free: 9.68 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.083, allocations: 1.125 kB / 1.406 GB, free: 9.68 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/1.085, allocations: 1.589 MB / 1.408 GB, free: 8.574 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.088, allocations: 358.9 kB / 1.408 GB, free: 8.441 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.11, allocations: 11.51 MB / 1.419 GB, free: 2.023 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/1.111, allocations: 1.328 MB / 1.421 GB, free: 1.246 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001345/1.113, allocations: 353.3 kB / 1.421 GB, free: 1.191 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/1.114, allocations: 0.5337 MB / 1.422 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of SimCode: time 1.503e-06/1.114, allocations: 0 / 1.422 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09177/1.205, allocations: 28.56 MB / 1.449 GB, free: 13.88 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.26, allocations: 16.23 kB / 1.449 GB, free: 13.87 MB / 1.139 GB " [Timeout remaining time 287] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.7743342933245]