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.001632/0.001637, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001268/0.001268, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.574 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.283/2.283, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.536, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00311/0.5392, allocations: 2.764 MB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.5403, allocations: 1.056 MB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.5405, allocations: 5 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.541, allocations: 208.4 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.5411, allocations: 64.38 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.5415, allocations: 152.3 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.5418, allocations: 409 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.542, allocations: 222.6 kB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.5422, allocations: 142.6 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5423, allocations: 196.2 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.5424, allocations: 41.03 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.5426, allocations: 170.2 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.5428, allocations: 261.2 kB / 0.9548 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.543, allocations: 353.3 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.5436, allocations: 0.932 MB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5436, allocations: 7.938 kB / 0.956 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5436, allocations: 3.938 kB / 0.956 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.5436, allocations: 0 / 0.956 GB, free: 3.879 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.001109/0.5447, allocations: 1.129 MB / 0.9571 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5448, allocations: 10.31 kB / 0.9571 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.5448, allocations: 68.5 kB / 0.9572 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.546, allocations: 242 kB / 0.9574 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5472, allocations: 0.7251 MB / 0.9581 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5472, allocations: 20.28 kB / 0.9582 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.5473, allocations: 36.5 kB / 0.9582 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.548, allocations: 382.7 kB / 0.9586 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.548, allocations: 0 / 0.9586 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.5481, allocations: 10.75 kB / 0.9586 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.5481, allocations: 6.875 kB / 0.9586 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009177/0.549, allocations: 416.6 kB / 0.959 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.5516, allocations: 1.793 MB / 0.9607 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.5522, allocations: 217.4 kB / 0.9609 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.5525, allocations: 97.84 kB / 0.961 GB, free: 316 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5526, allocations: 5.062 kB / 0.961 GB, free: 316 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.5526, allocations: 40.86 kB / 0.9611 GB, free: 268 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.5526, allocations: 3.938 kB / 0.9611 GB, free: 264 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0009853/0.5536, allocations: 375 kB / 0.9614 GB, free: 60 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.5536, allocations: 57.91 kB / 0.9615 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.555, allocations: 1.244 MB / 0.9627 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.5551, allocations: 31.8 kB / 0.9627 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.5554, allocations: 429.7 kB / 0.9631 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.5555, allocations: 72.05 kB / 0.9632 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.5556, allocations: 53.23 kB / 0.9633 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5557, allocations: 316.7 kB / 0.9636 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.556, allocations: 147.1 kB / 0.9637 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.5564, allocations: 202.1 kB / 0.9639 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.5571, allocations: 274.3 kB / 0.9641 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5571, allocations: 1.094 kB / 0.9641 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009063/0.558, allocations: 466.8 kB / 0.9646 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.558, allocations: 9.625 kB / 0.9646 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.558, allocations: 9.969 kB / 0.9646 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5581, allocations: 2.312 kB / 0.9646 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.5584, allocations: 62.11 kB / 0.9647 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5584, allocations: 3.156 kB / 0.9647 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.5587, allocations: 36.48 kB / 0.9647 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5587, allocations: 10.81 kB / 0.9647 GB, free: 13.89 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.0002923/0.559, allocations: 273.6 kB / 0.965 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.5591, allocations: 81.56 kB / 0.9651 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.56, allocations: 322 kB / 0.9654 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.56, allocations: 6.859 kB / 0.9654 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5601, allocations: 0 / 0.9654 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5601, allocations: 1.062 kB / 0.9654 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.5617, allocations: 1.003 MB / 0.9664 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5617, allocations: 2.656 kB / 0.9664 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.562, allocations: 47.02 kB / 0.9664 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.562, allocations: 6.703 kB / 0.9664 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.562, allocations: 7.938 kB / 0.9664 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.562, allocations: 6.844 kB / 0.9664 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5621, allocations: 1.406 kB / 0.9664 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.5628, allocations: 438.4 kB / 0.9668 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.563, allocations: 207 kB / 0.967 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.5631, allocations: 8.172 kB / 0.967 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.5634, allocations: 16.86 kB / 0.9671 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.5635, allocations: 19.7 kB / 0.9671 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.5635, allocations: 10.52 kB / 0.9671 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001028/0.5646, allocations: 0.8981 MB / 0.968 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.5646, allocations: 5.062 kB / 0.968 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004421/0.565, allocations: 113.3 kB / 0.9681 GB, free: 11.57 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.00112/0.5662, allocations: 0.9942 MB / 0.9691 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007333/0.5669, allocations: 285.2 kB / 0.9693 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5669, allocations: 0.9062 kB / 0.9693 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.5672, allocations: 106.7 kB / 0.9694 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.5678, allocations: 68.14 kB / 0.9695 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.5789, allocations: 7.789 MB / 0.9771 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.5795, allocations: 0.9908 MB / 0.9781 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003634/0.5798, allocations: 100.7 kB / 0.9782 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.5802, allocations: 299.3 kB / 0.9784 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5802, allocations: 3.938 kB / 0.9785 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.6037, allocations: 13.34 MB / 0.9915 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.6039, allocations: 224 kB / 0.9917 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.498, allocations: 1.875 kB / 0.9917 GB, free: 5.883 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