Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 91.84 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.001666/0.001666, 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.57/1.57, allocations: 223.3 MB / 240 MB, free: 5.43 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.388/2.388, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7712, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002648/0.7739, allocations: 2.294 MB / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.7754, allocations: 0.9947 MB / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.7755, allocations: 3.812 kB / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.776, allocations: 185.3 kB / 0.9578 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.7761, allocations: 68.16 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.7764, allocations: 119.2 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.7768, allocations: 358.2 kB / 0.9584 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.777, allocations: 154 kB / 0.9585 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.7771, allocations: 116.1 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.7773, allocations: 133.9 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.7773, allocations: 15.03 kB / 0.9588 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.7776, allocations: 141.1 kB / 0.9589 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.7778, allocations: 222 kB / 0.9591 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.7779, allocations: 146.4 kB / 0.9592 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.7785, allocations: 0.7263 MB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7785, allocations: 0 / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7785, allocations: 0 / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7785, allocations: 1.375 kB / 0.96 GB, free: 3.555 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001135/0.7797, allocations: 1.013 MB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7797, allocations: 9 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.781, allocations: 273.7 kB / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.7823, allocations: 0.7001 MB / 0.9619 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.7824, allocations: 32.16 kB / 0.9619 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.7824, allocations: 28 kB / 0.962 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.7832, allocations: 387.6 kB / 0.9623 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.7832, allocations: 0 / 0.9623 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.7832, allocations: 10.09 kB / 0.9623 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.7833, allocations: 8.062 kB / 0.9623 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.7842, allocations: 432.1 kB / 0.9628 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.7875, allocations: 2.132 MB / 0.9648 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.7881, allocations: 222 kB / 0.965 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.7884, allocations: 96.8 kB / 0.9651 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.7885, allocations: 8.5 kB / 0.9651 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7885, allocations: 44.44 kB / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.7885, allocations: 0 / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001052/0.7896, allocations: 367.1 kB / 0.9655 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.7896, allocations: 58.62 kB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.7913, allocations: 1.243 MB / 0.9668 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.7914, allocations: 31.67 kB / 0.9668 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.7918, allocations: 426.4 kB / 0.9672 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.7919, allocations: 67.27 kB / 0.9673 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.7919, allocations: 5.906 kB / 0.9673 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.792, allocations: 316 kB / 0.9676 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.7924, allocations: 147.6 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.7928, allocations: 197 kB / 0.9679 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.7931, allocations: 155.6 kB / 0.9681 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7931, allocations: 0 / 0.9681 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009562/0.7941, allocations: 465.8 kB / 0.9685 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7941, allocations: 7.875 kB / 0.9685 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7941, allocations: 4.922 kB / 0.9685 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7942, allocations: 2.531 kB / 0.9686 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.7945, allocations: 58.59 kB / 0.9686 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7945, allocations: 3.344 kB / 0.9686 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.7948, allocations: 39.78 kB / 0.9686 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.7949, allocations: 11.59 kB / 0.9687 GB, free: 13.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000465/0.7953, allocations: 270 kB / 0.9689 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.7955, allocations: 81.28 kB / 0.969 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.7963, allocations: 322.8 kB / 0.9693 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7963, allocations: 2.156 kB / 0.9693 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7963, allocations: 0 / 0.9693 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.7963, allocations: 7.938 kB / 0.9693 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.7985, allocations: 0.9957 MB / 0.9703 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7985, allocations: 6.578 kB / 0.9703 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.799, allocations: 55.55 kB / 0.9703 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.799, allocations: 7.188 kB / 0.9703 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.799, allocations: 3.469 kB / 0.9704 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.7991, allocations: 2.156 kB / 0.9704 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.7991, allocations: 2.562 kB / 0.9704 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.8003, allocations: 445 kB / 0.9708 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.8007, allocations: 207.6 kB / 0.971 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.8008, allocations: 11.02 kB / 0.971 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.8013, allocations: 17.33 kB / 0.971 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8014, allocations: 19.72 kB / 0.971 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.8015, allocations: 14.28 kB / 0.971 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001444/0.8029, allocations: 0.8947 MB / 0.9719 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8029, allocations: 0 / 0.9719 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005886/0.8035, allocations: 97.91 kB / 0.972 GB, free: 11.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002501/0.8038, allocations: 125.5 kB / 0.9721 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.8045, allocations: 264.7 kB / 0.9724 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.8046, allocations: 1.406 kB / 0.9724 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.8049, allocations: 108.8 kB / 0.9725 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.8054, allocations: 69.53 kB / 0.9725 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.8081, allocations: 1.542 MB / 0.9741 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.8088, allocations: 1.002 MB / 0.975 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.8092, allocations: 95.81 kB / 0.9751 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.8093, allocations: 44.02 kB / 0.9752 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8093, allocations: 0 / 0.9752 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.01192/0.8212, allocations: 5.087 MB / 0.9801 GB, free: 4.652 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches