Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001867/0.001867, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002039/0.002039, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.688/1.688, allocations: 225.6 MB / 249.4 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4389, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003812/0.4428, allocations: 2.287 MB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4443, allocations: 0.9525 MB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.4444, allocations: 7.938 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.445, allocations: 194.9 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.4451, allocations: 71.44 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.4455, allocations: 111.7 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.4457, allocations: 227 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.4459, allocations: 63.44 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.446, allocations: 87.58 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.4462, allocations: 99.42 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.4462, allocations: 16 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.4465, allocations: 151.8 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.4467, allocations: 219.3 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.4469, allocations: 266 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.4477, allocations: 0.7308 MB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4477, allocations: 0 / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4477, allocations: 4 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4477, allocations: 0 / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00128/0.449, allocations: 0.9979 MB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.449, allocations: 15.97 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.4496, allocations: 124.3 kB / 1.223 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.4504, allocations: 0.5903 MB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4504, allocations: 12.38 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4504, allocations: 12.31 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.4509, allocations: 207.6 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4509, allocations: 192 / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.4509, allocations: 11.94 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.4509, allocations: 4 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.4514, allocations: 223.9 kB / 1.224 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.4526, allocations: 0.914 MB / 1.224 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.4533, allocations: 306.5 kB / 1.225 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.4535, allocations: 104.9 kB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/0.4542, allocations: 240.9 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4542, allocations: 34.56 kB / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.4542, allocations: 0 / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0008432/0.455, allocations: 401 kB / 1.226 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.4551, allocations: 55.41 kB / 1.226 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4563, allocations: 0.9935 MB / 1.227 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4563, allocations: 33.7 kB / 1.227 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.4566, allocations: 352 kB / 1.227 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.4567, allocations: 27.8 kB / 1.227 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.4567, allocations: 25.66 kB / 1.227 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4569, allocations: 314 kB / 1.227 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.4571, allocations: 95.95 kB / 1.227 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.4573, allocations: 126.5 kB / 1.227 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.4577, allocations: 222.8 kB / 1.228 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4577, allocations: 0 / 1.228 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005693/0.4583, allocations: 325 kB / 1.228 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4583, allocations: 12 kB / 1.228 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4583, allocations: 0 / 1.228 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.4583, allocations: 4 kB / 1.228 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4585, allocations: 23.92 kB / 1.228 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4585, allocations: 4 kB / 1.228 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4587, allocations: 19.88 kB / 1.228 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4587, allocations: 8 kB / 1.228 GB, free: 2.82 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002783/0.459, allocations: 249.7 kB / 1.228 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.4591, allocations: 75.47 kB / 1.228 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/0.4597, allocations: 328.4 kB / 1.229 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4597, allocations: 0 / 1.229 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4597, allocations: 0 / 1.229 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4597, allocations: 3.984 kB / 1.229 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.4603, allocations: 0.5247 MB / 1.229 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4603, allocations: 3.938 kB / 1.229 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.4605, allocations: 23.98 kB / 1.229 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.4605, allocations: 0 / 1.229 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4605, allocations: 7.984 kB / 1.229 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4605, allocations: 3.938 kB / 1.229 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4605, allocations: 0 / 1.229 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.4611, allocations: 411.1 kB / 1.23 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.4613, allocations: 184.4 kB / 1.23 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.4614, allocations: 7.984 kB / 1.23 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4615, allocations: 11.94 kB / 1.23 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.4616, allocations: 3.984 kB / 1.23 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4616, allocations: 4 kB / 1.23 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009224/0.4625, allocations: 0.7215 MB / 1.231 GB, free: 188 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.4625, allocations: 0 / 1.231 GB, free: 188 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003549/0.4629, allocations: 71.89 kB / 1.231 GB, free: 116 kB / 0.9669 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 (9): * Single equations (assignments): 9 * 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.0002407/0.4631, allocations: 115.2 kB / 1.231 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.4636, allocations: 215.9 kB / 1.231 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4636, allocations: 0 / 1.231 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.4638, allocations: 107.9 kB / 1.231 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.4642, allocations: 51.23 kB / 1.231 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.466, allocations: 1.19 MB / 1.232 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.4667, allocations: 0.9401 MB / 1.233 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000201/0.4669, allocations: 77.31 kB / 1.233 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.467, allocations: 31.44 kB / 1.233 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.467, allocations: 4 kB / 1.233 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.01099/0.478, allocations: 4.517 MB / 1.238 GB, free: 8.82 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.8302693516016]