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.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 108 kB / 15.61 MB, free: 152 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.001086/0.001086, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.209/2.209, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5225, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003629/0.5262, allocations: 2.733 MB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.5276, allocations: 1.092 MB / 0.9535 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.5277, allocations: 4.938 kB / 0.9535 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.5283, allocations: 211.6 kB / 0.9537 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.5284, allocations: 83.55 kB / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.5288, allocations: 188.1 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.5292, allocations: 393.6 kB / 0.9543 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.5295, allocations: 216 kB / 0.9545 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.5297, allocations: 149.7 kB / 0.9546 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.5298, allocations: 179.9 kB / 0.9548 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.5299, allocations: 41 kB / 0.9549 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.5302, allocations: 174.9 kB / 0.955 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.5304, allocations: 259.8 kB / 0.9553 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.5306, allocations: 353.2 kB / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.5313, allocations: 0.9319 MB / 0.9565 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5313, allocations: 11.92 kB / 0.9565 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.552e-06/0.5313, allocations: 0 / 0.9565 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5313, allocations: 0 / 0.9565 GB, free: 3.941 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.001222/0.5325, allocations: 1.125 MB / 0.9576 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5326, allocations: 17.55 kB / 0.9576 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.5326, allocations: 73.73 kB / 0.9577 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5339, allocations: 233.6 kB / 0.9579 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.5352, allocations: 0.7284 MB / 0.9586 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5352, allocations: 25.72 kB / 0.9587 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.5352, allocations: 28.62 kB / 0.9587 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.536, allocations: 381.8 kB / 0.9591 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5361, allocations: 0 / 0.9591 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.5361, allocations: 15.41 kB / 0.9591 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.5361, allocations: 11.03 kB / 0.9591 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5371, allocations: 420.1 kB / 0.9595 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.54, allocations: 1.777 MB / 0.9612 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.5406, allocations: 228 kB / 0.9614 GB, free: 424 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.5408, allocations: 97.69 kB / 0.9615 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.5409, allocations: 12.44 kB / 0.9615 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.5409, allocations: 40.78 kB / 0.9616 GB, free: 316 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.5409, allocations: 3.938 kB / 0.9616 GB, free: 312 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001009/0.5419, allocations: 375.4 kB / 0.9619 GB, free: 108 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.542, allocations: 53.91 kB / 0.962 GB, free: 44 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5434, allocations: 1.244 MB / 0.9632 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5434, allocations: 32.14 kB / 0.9632 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.5437, allocations: 429.3 kB / 0.9637 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.5438, allocations: 67.94 kB / 0.9637 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.5439, allocations: 48.95 kB / 0.9638 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.544, allocations: 315.7 kB / 0.9641 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.5444, allocations: 148 kB / 0.9642 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.5448, allocations: 204.3 kB / 0.9644 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.5455, allocations: 277.8 kB / 0.9647 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5455, allocations: 0 / 0.9647 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009485/0.5464, allocations: 471.7 kB / 0.9651 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5465, allocations: 5.031 kB / 0.9651 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5465, allocations: 6.062 kB / 0.9651 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5465, allocations: 2.094 kB / 0.9651 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.5468, allocations: 62.33 kB / 0.9652 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5468, allocations: 2.812 kB / 0.9652 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.5471, allocations: 40.95 kB / 0.9652 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.5472, allocations: 7.5 kB / 0.9652 GB, free: 13.94 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 (opeModWarUpEngTem.temChe.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.5475, allocations: 270.1 kB / 0.9655 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5476, allocations: 79.97 kB / 0.9656 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008983/0.5485, allocations: 326.7 kB / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5485, allocations: 2.188 kB / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5485, allocations: 1.062 kB / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5485, allocations: 0 / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.5502, allocations: 1.013 MB / 0.9669 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5503, allocations: 5.281 kB / 0.9669 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.5505, allocations: 47.81 kB / 0.9669 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5506, allocations: 2.812 kB / 0.9669 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5506, allocations: 8.188 kB / 0.9669 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.5506, allocations: 2.719 kB / 0.9669 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5506, allocations: 1.312 kB / 0.9669 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.5514, allocations: 447.1 kB / 0.9674 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.5517, allocations: 202 kB / 0.9676 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.5517, allocations: 7.969 kB / 0.9676 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.552, allocations: 16.2 kB / 0.9676 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.5521, allocations: 20.14 kB / 0.9676 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.5521, allocations: 10.86 kB / 0.9676 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001189/0.5533, allocations: 0.9031 MB / 0.9685 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5533, allocations: 3.938 kB / 0.9685 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004529/0.5538, allocations: 109.2 kB / 0.9686 GB, free: 11.62 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 (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.00121/0.555, allocations: 0.988 MB / 0.9696 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007679/0.5558, allocations: 287.8 kB / 0.9698 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5558, allocations: 1.406 kB / 0.9698 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.5561, allocations: 101.5 kB / 0.9699 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.5566, allocations: 71.27 kB / 0.97 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.5673, allocations: 7.604 MB / 0.9774 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.5679, allocations: 0.9915 MB / 0.9784 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003496/0.5682, allocations: 104.6 kB / 0.9785 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.5686, allocations: 299.3 kB / 0.9788 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.5686, allocations: 0 / 0.9788 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2042/0.7727, allocations: 13.47 MB / 0.9919 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/15.96, allocations: 18.27 kB / 0.992 GB, free: 5.918 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > 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/jenkins1/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