Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001007/0.001012, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001182/0.001182, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8.156 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3667, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00282/0.3696, allocations: 1.898 MB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3715, allocations: 0.8706 MB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3716, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.3722, allocations: 175 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.3724, allocations: 55.62 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.373, allocations: 83.83 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.3733, allocations: 191.1 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.3735, allocations: 65.62 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3737, allocations: 75.58 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3739, allocations: 87.52 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.3739, allocations: 12 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.3743, allocations: 135.8 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.3746, allocations: 199.4 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3748, allocations: 125.3 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.3755, allocations: 0.5457 MB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3755, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3756, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3756, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 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.001457/0.377, allocations: 0.8817 MB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3771, allocations: 12.03 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.3776, allocations: 115 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.3784, allocations: 0.5539 MB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.3784, allocations: 19.89 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3784, allocations: 8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.3788, allocations: 189.6 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3789, allocations: 4 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3789, allocations: 11.94 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3789, allocations: 4 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.3793, allocations: 227.9 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.3806, allocations: 0.9177 MB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.3813, allocations: 310.5 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3815, allocations: 116.9 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.3826, allocations: 396.7 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3826, allocations: 38.5 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3826, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007955/0.3834, allocations: 404.5 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3835, allocations: 51.41 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3847, allocations: 0.9896 MB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3847, allocations: 25.7 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.385, allocations: 352 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3851, allocations: 27.56 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.3851, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3852, allocations: 317.9 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3854, allocations: 95.95 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3856, allocations: 118.5 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3858, allocations: 95.97 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3858, allocations: 7.938 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005963/0.3864, allocations: 320.9 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3865, allocations: 6.031 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3865, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3865, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3867, allocations: 23.97 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3867, allocations: 7.938 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.3869, allocations: 23.84 kB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3869, allocations: 4 kB / 1.069 GB, free: 9.965 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.3872, allocations: 249.7 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.3873, allocations: 71.06 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.3879, allocations: 328.4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.388, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.388, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.388, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.3885, allocations: 0.5246 MB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3886, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3887, allocations: 23.97 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3887, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3887, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3887, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3887, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.3893, allocations: 410.4 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.3895, allocations: 176.1 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.3896, allocations: 4 kB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.3898, allocations: 12 kB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3898, allocations: 7.984 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3898, allocations: 4.281 kB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008709/0.3907, allocations: 0.7137 MB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3907, allocations: 3.938 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003624/0.3911, allocations: 75.78 kB / 1.071 GB, free: 7.285 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.3913, allocations: 115.2 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.3918, allocations: 211.8 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3918, allocations: 0 / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.392, allocations: 111.9 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3924, allocations: 59.33 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3942, allocations: 1.283 MB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.3948, allocations: 0.9488 MB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.3951, allocations: 77.31 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.3952, allocations: 35.44 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3952, allocations: 0 / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.009581/0.4048, allocations: 4.057 MB / 1.078 GB, free: 340 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches