Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008888/0.008888, allocations: 168.7 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.9 MB / 0.6663 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004318, allocations: 11.94 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.831, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002332/0.8334, allocations: 1.959 MB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.8348, allocations: 0.9243 MB / 0.9579 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.8349, allocations: 2.031 kB / 0.9579 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.8355, allocations: 192.7 kB / 0.958 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.8356, allocations: 54.81 kB / 0.9581 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.8359, allocations: 89.61 kB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.8361, allocations: 215.6 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.8363, allocations: 79.47 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.8364, allocations: 70.66 kB / 0.9585 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.8365, allocations: 87.19 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.8365, allocations: 6.031 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.8368, allocations: 148.4 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.837, allocations: 203.5 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.8371, allocations: 273.1 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.8376, allocations: 0.6786 MB / 0.9599 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8377, allocations: 0 / 0.9599 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8377, allocations: 0 / 0.9599 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8377, allocations: 0 / 0.9599 GB, free: 3.973 MB / 0.7169 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.0009636/0.8386, allocations: 0.8813 MB / 0.9607 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.8387, allocations: 13.31 kB / 0.9608 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.8392, allocations: 116.4 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.8399, allocations: 0.5884 MB / 0.9614 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.84, allocations: 13.88 kB / 0.9615 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.84, allocations: 11.34 kB / 0.9615 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.8405, allocations: 202.8 kB / 0.9617 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.8405, allocations: 4.172 kB / 0.9617 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.8405, allocations: 9.719 kB / 0.9617 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.8405, allocations: 3.125 kB / 0.9617 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.841, allocations: 223.2 kB / 0.9619 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.8422, allocations: 0.9176 MB / 0.9628 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.8428, allocations: 319.7 kB / 0.9631 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.843, allocations: 106 kB / 0.9632 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009233/0.8439, allocations: 403.8 kB / 0.9636 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.844, allocations: 35.94 kB / 0.9636 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.844, allocations: 0 / 0.9636 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0008234/0.8448, allocations: 401.5 kB / 0.964 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.8449, allocations: 52.66 kB / 0.964 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.846, allocations: 0.9995 MB / 0.965 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.846, allocations: 30.67 kB / 0.965 GB, free: 480 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.8463, allocations: 339 kB / 0.9654 GB, free: 176 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.8463, allocations: 39.55 kB / 0.9654 GB, free: 140 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.8463, allocations: 20.2 kB / 0.9654 GB, free: 116 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8464, allocations: 310.9 kB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.8467, allocations: 95.27 kB / 0.9658 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.8469, allocations: 125.3 kB / 0.9659 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.8474, allocations: 220.3 kB / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8474, allocations: 0 / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005945/0.848, allocations: 318.1 kB / 0.9664 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.848, allocations: 5.688 kB / 0.9664 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.848, allocations: 0.8438 kB / 0.9665 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.848, allocations: 0.9688 kB / 0.9665 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.8482, allocations: 34.97 kB / 0.9665 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.8482, allocations: 0.7188 kB / 0.9665 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.8484, allocations: 13.88 kB / 0.9665 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.8485, allocations: 7 kB / 0.9665 GB, free: 15.41 MB / 0.7325 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.0002685/0.8487, allocations: 246.3 kB / 0.9667 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8488, allocations: 75.5 kB / 0.9668 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007066/0.8496, allocations: 331.9 kB / 0.9671 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8496, allocations: 5.125 kB / 0.9671 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8496, allocations: 1.031 kB / 0.9671 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8496, allocations: 0 / 0.9671 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.8503, allocations: 0.5239 MB / 0.9676 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8503, allocations: 3.938 kB / 0.9676 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.8504, allocations: 24.34 kB / 0.9677 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8504, allocations: 0 / 0.9677 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.8504, allocations: 5.281 kB / 0.9677 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8505, allocations: 5.188 kB / 0.9677 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8505, allocations: 0 / 0.9677 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.8511, allocations: 403.1 kB / 0.9681 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.8513, allocations: 185.8 kB / 0.9682 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.8513, allocations: 8.906 kB / 0.9683 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.8515, allocations: 3.594 kB / 0.9683 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.8516, allocations: 7.891 kB / 0.9683 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.8516, allocations: 1.5 kB / 0.9683 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008941/0.8525, allocations: 0.7228 MB / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8525, allocations: 0 / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003805/0.8529, allocations: 72.41 kB / 0.969 GB, free: 13.73 MB / 0.7325 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.0001919/0.8531, allocations: 115.6 kB / 0.9692 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.8536, allocations: 216.1 kB / 0.9694 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8536, allocations: 0 / 0.9694 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.8538, allocations: 115.7 kB / 0.9695 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.8543, allocations: 55.86 kB / 0.9695 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.8561, allocations: 1.356 MB / 0.9708 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.8567, allocations: 0.9438 MB / 0.9718 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.8569, allocations: 74.58 kB / 0.9718 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.857, allocations: 35.2 kB / 0.9719 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.857, allocations: 0 / 0.9719 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.009942/0.867, allocations: 4.141 MB / 0.9759 GB, free: 9.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches