Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001397/0.001397, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.00141/0.00141, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7316, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01025/0.7418, allocations: 11.61 MB / 1.283 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008709/0.7506, allocations: 5.975 MB / 1.289 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.7512, allocations: 57.75 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003915/0.7551, allocations: 1.786 MB / 1.29 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.7576, allocations: 1.185 MB / 1.292 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.7597, allocations: 0.8185 MB / 1.292 GB, free: 9.855 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002442/0.7621, allocations: 2.127 MB / 1.294 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7632, allocations: 0.8901 MB / 1.295 GB, free: 8.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.7642, allocations: 0.8578 MB / 1.296 GB, free: 8.074 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.7654, allocations: 0.963 MB / 1.297 GB, free: 7.664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.7656, allocations: 118.4 kB / 1.297 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.768, allocations: 1.206 MB / 1.298 GB, free: 7.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.7685, allocations: 0.539 MB / 1.299 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.7693, allocations: 0.7893 MB / 1.3 GB, free: 6.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.7727, allocations: 2.436 MB / 1.302 GB, free: 5.676 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7727, allocations: 1.312 kB / 1.302 GB, free: 5.676 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7727, allocations: 0 / 1.302 GB, free: 5.676 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.446e-05/0.7727, allocations: 0 / 1.302 GB, free: 5.676 MB / 1.014 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.003154/0.7759, allocations: 1.919 MB / 1.304 GB, free: 4.402 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.7759, allocations: 13.44 kB / 1.304 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.7761, allocations: 214.8 kB / 1.304 GB, free: 4.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.7805, allocations: 0.6773 MB / 1.305 GB, free: 4.129 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.7822, allocations: 1.009 MB / 1.306 GB, free: 3.562 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.7823, allocations: 97.23 kB / 1.306 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.7825, allocations: 128.9 kB / 1.306 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.7854, allocations: 2.212 MB / 1.308 GB, free: 2.234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/0.7855, allocations: 12.8 kB / 1.308 GB, free: 2.227 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.7856, allocations: 57.25 kB / 1.308 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/0.7858, allocations: 166.5 kB / 1.308 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.7886, allocations: 1.865 MB / 1.31 GB, free: 1.516 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.8003, allocations: 12.46 MB / 1.322 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.8044, allocations: 1.874 MB / 1.324 GB, free: 6.473 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000831/0.8052, allocations: 0.5539 MB / 1.325 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.8053, allocations: 102.3 kB / 1.325 GB, free: 6.195 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.8054, allocations: 51.72 kB / 1.325 GB, free: 6.137 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 2.435e-06/0.8054, allocations: 0 / 1.325 GB, free: 6.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.005951/0.8113, allocations: 3.727 MB / 1.328 GB, free: 4.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.8114, allocations: 63.09 kB / 1.329 GB, free: 4.109 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.8125, allocations: 0.9201 MB / 1.329 GB, free: 3.727 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.8125, allocations: 46.48 kB / 1.329 GB, free: 3.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.813, allocations: 0.7496 MB / 1.33 GB, free: 3.078 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.8134, allocations: 404.5 kB / 1.331 GB, free: 2.762 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.8138, allocations: 285.8 kB / 1.331 GB, free: 2.629 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8139, allocations: 305.8 kB / 1.331 GB, free: 2.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008619/0.8147, allocations: 0.6125 MB / 1.332 GB, free: 2.125 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.816, allocations: 1.107 MB / 1.333 GB, free: 1.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.8182, allocations: 1.829 MB / 1.335 GB, free: 92 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.8182, allocations: 5.188 kB / 1.335 GB, free: 92 kB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00322/0.8215, allocations: 2.11 MB / 1.337 GB, free: 15.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.8215, allocations: 12.34 kB / 1.337 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.8215, allocations: 19.94 kB / 1.337 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000774/0.8223, allocations: 254.1 kB / 1.337 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.8235, allocations: 377.8 kB / 1.337 GB, free: 15.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00893/0.8324, allocations: 11.59 MB / 1.349 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8338, allocations: 135.5 kB / 1.349 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.8339, allocations: 71.14 kB / 1.349 GB, free: 3.621 MB / 1.045 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.0006931/0.8346, allocations: 405.5 kB / 1.349 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.8348, allocations: 141.2 kB / 1.349 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.8376, allocations: 1.673 MB / 1.351 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.8376, allocations: 12.23 kB / 1.351 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8376, allocations: 2.188 kB / 1.351 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.8376, allocations: 9.859 kB / 1.351 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.8427, allocations: 3.281 MB / 1.354 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8427, allocations: 4.562 kB / 1.354 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.8435, allocations: 226.4 kB / 1.354 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006861/0.8442, allocations: 247.5 kB / 1.355 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.8443, allocations: 30.88 kB / 1.355 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008586/0.8529, allocations: 11.57 MB / 1.366 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.8529, allocations: 9.875 kB / 1.366 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.8556, allocations: 1.801 MB / 1.368 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/0.8561, allocations: 316.6 kB / 1.368 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.8562, allocations: 26.84 kB / 1.368 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.8569, allocations: 91.16 kB / 1.368 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.8571, allocations: 101.5 kB / 1.368 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.8572, allocations: 41.55 kB / 1.368 GB, free: 3.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007706/0.8579, allocations: 0.6163 MB / 1.369 GB, free: 3.242 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8579, allocations: 0 / 1.369 GB, free: 3.242 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001361/0.8593, allocations: 397.6 kB / 1.369 GB, free: 3.195 MB / 1.061 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.002775/0.8621, allocations: 2.389 MB / 1.372 GB, free: 1.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003328/0.8654, allocations: 2.399 MB / 1.374 GB, free: 15.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8654, allocations: 5.375 kB / 1.374 GB, free: 15.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.8673, allocations: 1.593 MB / 1.376 GB, free: 14.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8689, allocations: 353.8 kB / 1.376 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.884, allocations: 11.53 MB / 1.387 GB, free: 6.695 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.8851, allocations: 1.327 MB / 1.388 GB, free: 5.703 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001149/0.8862, allocations: 350.8 kB / 1.389 GB, free: 5.559 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.887, allocations: 0.5392 MB / 1.389 GB, free: 5.098 MB / 1.076 GB Notification: Performance of SimCode: time 1.823e-06/0.887, allocations: 0 / 1.389 GB, free: 5.098 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08199/0.9689, allocations: 28.69 MB / 1.417 GB, free: 10.39 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.66, allocations: 3.516 kB / 1.417 GB, free: 10.39 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.988543148000645]