Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.0009491/0.0009491, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009796/0.0009796, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9137/0.9137, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.836/1.836, allocations: 377.9 MB / 0.6239 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.48e-05, allocations: 4.094 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0009766/0.0009914, allocations: 0.5438 MB / 0.8125 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.001128, allocations: 44.75 kB / 0.8126 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.001175, allocations: 0 / 0.8126 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.001206, allocations: 0 / 0.8126 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.00135, allocations: 5.094 kB / 0.8126 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.424e-05/0.001395, allocations: 8 kB / 0.8126 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.001445, allocations: 11.92 kB / 0.8126 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.001479, allocations: 4.641 kB / 0.8126 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.001534, allocations: 9.25 kB / 0.8126 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.001609, allocations: 11.98 kB / 0.8126 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.001624, allocations: 0 / 0.8126 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.001631, allocations: 0 / 0.8126 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.001673, allocations: 10.42 kB / 0.8126 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.001694, allocations: 3.938 kB / 0.8126 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.437e-05/0.001758, allocations: 15.92 kB / 0.8126 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00176, allocations: 0 / 0.8126 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.146e-06/0.001763, allocations: 4 kB / 0.8126 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.001766, allocations: 0 / 0.8126 GB, free: 0.7695 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002787/0.002045, allocations: 358.2 kB / 0.813 GB, free: 392 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.002081, allocations: 8.031 kB / 0.813 GB, free: 384 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.002105, allocations: 8.875 kB / 0.813 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.002203, allocations: 116.6 kB / 0.8131 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.002209, allocations: 1.812 kB / 0.8131 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.002222, allocations: 384 / 0.8131 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.795e-05/0.00228, allocations: 34.25 kB / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.002286, allocations: 1.688 kB / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-06/0.002291, allocations: 384 / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.002295, allocations: 384 / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-06/0.002303, allocations: 7.938 kB / 0.8131 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.218e-05/0.002385, allocations: 94.36 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.002417, allocations: 35.02 kB / 0.8133 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-06/0.002427, allocations: 7.688 kB / 0.8133 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.00244, allocations: 4.516 kB / 0.8133 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.002469, allocations: 37.98 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.002471, allocations: 0.9375 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.874e-05/0.002559, allocations: 33.7 kB / 0.8134 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.002584, allocations: 60.03 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.002648, allocations: 161.9 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.002657, allocations: 26.23 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.002695, allocations: 134.9 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.002712, allocations: 5.328 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.002739, allocations: 27.36 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.002841, allocations: 496.1 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.002847, allocations: 1.156 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.002863, allocations: 19.38 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.002887, allocations: 24.23 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.002889, allocations: 0.5 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.147e-05/0.00293, allocations: 46.44 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.002939, allocations: 8 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.002943, allocations: 1.125 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.002951, allocations: 0 / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.002994, allocations: 4 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.002997, allocations: 0.7812 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.003007, allocations: 0 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.003012, allocations: 4.812 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.003066, allocations: 164.5 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.00307, allocations: 1.562 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.003127, allocations: 45.16 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.003128, allocations: 0 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.003129, allocations: 1.125 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.003131, allocations: 0 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.177e-05/0.003193, allocations: 105.3 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.003195, allocations: 7.219 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.003218, allocations: 4 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.003219, allocations: 0 / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.003228, allocations: 7.984 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003229, allocations: 0 / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-07/0.003229, allocations: 0 / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.972e-05/0.003299, allocations: 80.33 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.003311, allocations: 3.984 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.003319, allocations: 4.5 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.003326, allocations: 0 / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-06/0.003334, allocations: 5.875 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.003335, allocations: 0 / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.003373, allocations: 131.2 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.003373, allocations: 0 / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001089/0.003482, allocations: 4 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.843e-05/0.003541, allocations: 100.2 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.645e-05/0.003587, allocations: 16.47 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.003588, allocations: 1.281 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.003598, allocations: 15.67 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.967e-05/0.003688, allocations: 6.281 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.003858, allocations: 112.8 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.463e-05/0.003883, allocations: 55.36 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.291e-05/0.003896, allocations: 3.984 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.003933, allocations: 70.2 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.003934, allocations: 0 / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.001482/0.005416, allocations: 372.6 kB / 0.8156 GB, free: 13.44 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.672837703954428]