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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001382/0.001383, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 184 kB / 16.92 MB, free: 6.684 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004397, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7016, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002334/0.7039, allocations: 1.951 MB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.7053, allocations: 0.9329 MB / 0.9585 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.7054, allocations: 1.375 kB / 0.9585 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.7059, allocations: 188.6 kB / 0.9587 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.706, allocations: 60.03 kB / 0.9588 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.7064, allocations: 89.48 kB / 0.9589 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.7066, allocations: 214.7 kB / 0.9591 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.7068, allocations: 79.5 kB / 0.9591 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.7069, allocations: 70.58 kB / 0.9592 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.707, allocations: 82.73 kB / 0.9593 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.7071, allocations: 10.62 kB / 0.9593 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.7073, allocations: 144.4 kB / 0.9594 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.7075, allocations: 203.3 kB / 0.9596 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.7077, allocations: 269.1 kB / 0.9599 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.7082, allocations: 0.5479 MB / 0.9604 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7082, allocations: 0 / 0.9604 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7082, allocations: 1.125 kB / 0.9604 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7082, allocations: 0 / 0.9604 GB, free: 4.125 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.0009916/0.7092, allocations: 0.8775 MB / 0.9613 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7093, allocations: 12.55 kB / 0.9613 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.7099, allocations: 116.6 kB / 0.9614 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.7105, allocations: 0.5919 MB / 0.962 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.7106, allocations: 10.06 kB / 0.962 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.7106, allocations: 12.19 kB / 0.962 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.711, allocations: 202.5 kB / 0.9622 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.711, allocations: 192 / 0.9622 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.711, allocations: 9.031 kB / 0.9622 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.711, allocations: 3.125 kB / 0.9622 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.7115, allocations: 228.5 kB / 0.9624 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.7126, allocations: 0.9213 MB / 0.9633 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.7133, allocations: 313.8 kB / 0.9636 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.7135, allocations: 110.6 kB / 0.9637 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009238/0.7144, allocations: 408.4 kB / 0.9641 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.7144, allocations: 32.03 kB / 0.9641 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.7144, allocations: 0 / 0.9641 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0008301/0.7153, allocations: 405.5 kB / 0.9645 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.7153, allocations: 52.59 kB / 0.9646 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.7164, allocations: 0.9993 MB / 0.9656 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.7165, allocations: 26.92 kB / 0.9656 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.7167, allocations: 346.9 kB / 0.9659 GB, free: 324 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.7167, allocations: 30.95 kB / 0.9659 GB, free: 296 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.7168, allocations: 16.53 kB / 0.966 GB, free: 276 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.7168, allocations: 308 kB / 0.9663 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.7171, allocations: 102.3 kB / 0.9664 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.7173, allocations: 121 kB / 0.9665 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.7177, allocations: 220.3 kB / 0.9667 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7177, allocations: 0.9375 kB / 0.9667 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006202/0.7184, allocations: 317.2 kB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7184, allocations: 7.188 kB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7184, allocations: 1 kB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7184, allocations: 5.656 kB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.7186, allocations: 27.14 kB / 0.967 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.7186, allocations: 1.469 kB / 0.967 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.7188, allocations: 17.14 kB / 0.967 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.7188, allocations: 3.094 kB / 0.967 GB, free: 15.57 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.0002698/0.7191, allocations: 249.8 kB / 0.9673 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.7192, allocations: 79.84 kB / 0.9674 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.7199, allocations: 332.5 kB / 0.9677 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7199, allocations: 0.9062 kB / 0.9677 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7199, allocations: 1.031 kB / 0.9677 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7199, allocations: 0 / 0.9677 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.7205, allocations: 0.5267 MB / 0.9682 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7205, allocations: 8.969 kB / 0.9682 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.7207, allocations: 19.33 kB / 0.9682 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7207, allocations: 5.094 kB / 0.9682 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.7207, allocations: 1.125 kB / 0.9682 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7207, allocations: 1.156 kB / 0.9682 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7207, allocations: 0 / 0.9682 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.7213, allocations: 402.8 kB / 0.9686 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.7215, allocations: 185.3 kB / 0.9688 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.7216, allocations: 1.031 kB / 0.9688 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.7217, allocations: 12.89 kB / 0.9688 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.7218, allocations: 10.48 kB / 0.9688 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.7218, allocations: 2.469 kB / 0.9688 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009148/0.7227, allocations: 0.7145 MB / 0.9695 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7227, allocations: 0 / 0.9695 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003993/0.7231, allocations: 75.97 kB / 0.9696 GB, free: 13.88 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.0002086/0.7234, allocations: 112.1 kB / 0.9697 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.7239, allocations: 212.5 kB / 0.9699 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7239, allocations: 4.5 kB / 0.9699 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.7241, allocations: 114.9 kB / 0.97 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.7246, allocations: 54.58 kB / 0.9701 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.7267, allocations: 1.416 MB / 0.9714 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.7273, allocations: 0.9435 MB / 0.9724 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.7274, allocations: 37.11 kB / 0.9724 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.7274, allocations: 0 / 0.9724 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.01307/0.7405, allocations: 7.24 MB / 0.9795 GB, free: 6.641 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/jenkins1/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