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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008812/0.008812, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002232/0.002232, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 71.88 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3926, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003901/0.3966, allocations: 2.263 MB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3981, allocations: 0.9446 MB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3982, allocations: 4 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.3988, allocations: 194.8 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3989, allocations: 79.44 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.3993, allocations: 103.7 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.3996, allocations: 227.1 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3998, allocations: 89.64 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.4, allocations: 91.52 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.4001, allocations: 95.44 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.4002, allocations: 16 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.4005, allocations: 159.8 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.4007, allocations: 211.3 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4009, allocations: 270 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008113/0.4017, allocations: 0.7231 MB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4017, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4017, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4017, allocations: 4 kB / 1.172 GB, free: 1.312 MB / 0.92 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.00139/0.4031, allocations: 0.9979 MB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4032, allocations: 8.031 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.4038, allocations: 120.3 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.4046, allocations: 0.6059 MB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4046, allocations: 8.375 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4046, allocations: 12.38 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.4051, allocations: 203.6 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4051, allocations: 192 / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.4051, allocations: 11.94 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4051, allocations: 4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.4056, allocations: 227.9 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.4067, allocations: 0.91 MB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.4074, allocations: 322.3 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.4076, allocations: 105 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.4083, allocations: 244.9 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4084, allocations: 34.5 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4084, allocations: 0 / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008447/0.4092, allocations: 405 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4093, allocations: 55.41 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4104, allocations: 0.9935 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.4105, allocations: 29.7 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.4108, allocations: 348.1 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.4108, allocations: 31.73 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.4108, allocations: 25.7 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.411, allocations: 310 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4112, allocations: 95.95 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.4114, allocations: 130.5 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.4118, allocations: 218.4 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4118, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005386/0.4124, allocations: 329.3 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4124, allocations: 4 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4124, allocations: 64 / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4124, allocations: 8.094 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4126, allocations: 27.91 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4126, allocations: 4 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.4128, allocations: 11.89 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.4128, allocations: 11.98 kB / 1.179 GB, free: 10.26 MB / 0.9356 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.0002633/0.4131, allocations: 241.8 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4132, allocations: 79.47 kB / 1.179 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/0.4138, allocations: 332.4 kB / 1.179 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4138, allocations: 3.938 kB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.4138, allocations: 0 / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4138, allocations: 0 / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.4144, allocations: 0.5285 MB / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4144, allocations: 3.938 kB / 1.18 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.4146, allocations: 23.97 kB / 1.18 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4146, allocations: 4 kB / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4146, allocations: 4 kB / 1.18 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4146, allocations: 4 kB / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4146, allocations: 0 / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.4152, allocations: 410.9 kB / 1.18 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.4154, allocations: 188.4 kB / 1.18 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.4154, allocations: 8 kB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4156, allocations: 4 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.4157, allocations: 7.969 kB / 1.18 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.4157, allocations: 4 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008351/0.4165, allocations: 0.7176 MB / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4165, allocations: 0 / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003554/0.4169, allocations: 75.89 kB / 1.181 GB, free: 7.551 MB / 0.9356 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.0002205/0.4171, allocations: 115.2 kB / 1.181 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.4176, allocations: 219.9 kB / 1.181 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4176, allocations: 4.125 kB / 1.181 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4178, allocations: 107.9 kB / 1.182 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.4183, allocations: 51.23 kB / 1.182 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.42, allocations: 1.18 MB / 1.183 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.4206, allocations: 0.944 MB / 1.184 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.4208, allocations: 77.33 kB / 1.184 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.4209, allocations: 35.42 kB / 1.184 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.4209, allocations: 0 / 1.184 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of Templates: time 0.01024/0.4312, allocations: 4.446 MB / 1.188 GB, free: 332 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) 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) Reference file matches