Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001977/0.001977, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.00219/0.00219, allocations: 177.2 kB / 22.76 MB, free: 1.656 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 1.619/1.619, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.601/3.601, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8775 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.189e-05, allocations: 3.344 kB / 0.8775 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00352/0.003552, allocations: 1.769 MB / 0.8792 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.003759, allocations: 84.84 kB / 0.8793 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.003818, allocations: 0 / 0.8793 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.003856, allocations: 9 kB / 0.8793 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.003943, allocations: 23.95 kB / 0.8793 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.004055, allocations: 34.34 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.004238, allocations: 115.6 kB / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.004385, allocations: 29.3 kB / 0.8795 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.004505, allocations: 63.88 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.004576, allocations: 35.89 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.004605, allocations: 8 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.004632, allocations: 14.16 kB / 0.8796 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.004672, allocations: 27.91 kB / 0.8796 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.004731, allocations: 31.91 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004921, allocations: 115.6 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004924, allocations: 0 / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004925, allocations: 0 / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004929, allocations: 0.7188 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007153/0.005645, allocations: 457.4 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.005681, allocations: 12.03 kB / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.005741, allocations: 16.89 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.005972, allocations: 148.2 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.005991, allocations: 13.52 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.006012, allocations: 8.375 kB / 0.8804 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.006319, allocations: 108.5 kB / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006329, allocations: 192 / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.006341, allocations: 384 / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.006346, allocations: 384 / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.006661, allocations: 95.88 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.007262, allocations: 375.4 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.007562, allocations: 82.97 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.007719, allocations: 39.8 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.007736, allocations: 0 / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.007774, allocations: 45.38 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.007775, allocations: 4 kB / 0.8811 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0005482/0.008323, allocations: 133.8 kB / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.008376, allocations: 59.39 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.008545, allocations: 193.9 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.008568, allocations: 25.7 kB / 0.8815 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.00868, allocations: 158.7 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.008715, allocations: 23.78 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.00877, allocations: 31.38 kB / 0.8817 GB, free: 2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002896/0.009059, allocations: 0.4961 MB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.009199, allocations: 31.98 kB / 0.8822 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.009325, allocations: 31.97 kB / 0.8823 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.009583, allocations: 80.02 kB / 0.8823 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009585, allocations: 0 / 0.8823 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003273/0.009912, allocations: 113.6 kB / 0.8824 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009926, allocations: 4 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009931, allocations: 0 / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.009948, allocations: 7.938 kB / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01007, allocations: 15.98 kB / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01007, allocations: 0 / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.01015, allocations: 15.92 kB / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01016, allocations: 3.938 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 0.0001402/0.0103, allocations: 168.6 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.01033, allocations: 7.953 kB / 0.8827 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.01038, allocations: 16.42 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01038, allocations: 0 / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01038, allocations: 0 / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01038, allocations: 0 / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01062, allocations: 160.5 kB / 0.8828 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01062, allocations: 0 / 0.8828 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01073, allocations: 19.98 kB / 0.8829 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.01074, allocations: 8 kB / 0.8829 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01075, allocations: 3.984 kB / 0.8829 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.01075, allocations: 0 / 0.8829 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01076, allocations: 3.938 kB / 0.8829 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.0112, allocations: 259.8 kB / 0.8831 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01122, allocations: 7.953 kB / 0.8831 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01124, allocations: 4.125 kB / 0.8831 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01135, allocations: 15.98 kB / 0.8831 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.01141, allocations: 7.984 kB / 0.8831 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.01142, allocations: 8 kB / 0.8832 GB, free: 448 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001071/0.01153, allocations: 143.2 kB / 0.8833 GB, free: 304 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 0 / 0.8833 GB, free: 304 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002334/0.01176, allocations: 23.89 kB / 0.8833 GB, free: 280 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 0.0001469/0.01191, allocations: 91.25 kB / 0.8834 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.01228, allocations: 99.5 kB / 0.8835 GB, free: 76 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01228, allocations: 0 / 0.8835 GB, free: 76 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.01244, allocations: 51.66 kB / 0.8835 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01274, allocations: 13.72 kB / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.0133, allocations: 217.3 kB / 0.8838 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.0134, allocations: 84.31 kB / 0.8838 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.01344, allocations: 4 kB / 0.8839 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.01349, allocations: 12.5 kB / 0.8839 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of SimCode: time 4.7e-07/0.01349, allocations: 0 / 0.8839 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.004569/0.01806, allocations: 1.147 MB / 0.885 GB, free: 14.53 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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: 8.943983013974503]