Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.001413/0.001413, 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.001583/0.001583, allocations: 195.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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.575/2.575, allocations: 437.1 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 72.11 kB / 0.8694 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5291, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003348/0.5325, allocations: 2.444 MB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.5334, allocations: 0.5314 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.5335, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.5339, allocations: 138 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.5341, allocations: 87.22 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.5342, allocations: 51.94 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.5345, allocations: 238.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.5348, allocations: 111 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.5349, allocations: 83.73 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.535, allocations: 95.5 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.5351, allocations: 23.94 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.5351, allocations: 20 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.5353, allocations: 79.69 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.5354, allocations: 155 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.5357, allocations: 334.6 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5357, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.036e-06/0.5357, allocations: 4 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5357, allocations: 4 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008303/0.5366, allocations: 0.6455 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5366, allocations: 8.031 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.5367, allocations: 46.73 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.5367, allocations: 40.47 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.537, allocations: 314.1 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5371, allocations: 8.375 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.5371, allocations: 16.38 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.5374, allocations: 141.9 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5374, allocations: 3.938 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5374, allocations: 8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5374, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.5376, allocations: 91.94 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.5384, allocations: 0.5895 MB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.5386, allocations: 90.56 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.5387, allocations: 56.84 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.5387, allocations: 4 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.5388, allocations: 34.5 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.5388, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003287/0.5391, allocations: 145.2 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.5391, allocations: 55.41 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.5395, allocations: 393.9 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.5395, allocations: 25.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.5396, allocations: 216 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.5397, allocations: 31.56 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.5397, allocations: 25.7 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5398, allocations: 354.7 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.5399, allocations: 31.92 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-05/0.54, allocations: 63.42 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.5402, allocations: 91.36 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5402, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002328/0.5404, allocations: 149.5 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5405, allocations: 6.031 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5405, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5405, allocations: 4.094 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5406, allocations: 31.86 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5406, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.5407, allocations: 8.094 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.5407, allocations: 11.94 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001353/0.5409, allocations: 165.8 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.5409, allocations: 31.53 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.541, allocations: 39.22 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.541, allocations: 0 / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.541, allocations: 0 / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.541, allocations: 4 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.5413, allocations: 305.4 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5413, allocations: 4 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.5414, allocations: 23.92 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5414, allocations: 4 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5414, allocations: 0 / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5414, allocations: 0 / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5414, allocations: 0 / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.5418, allocations: 262.9 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.5419, allocations: 112.7 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.5419, allocations: 8.062 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.542, allocations: 4 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.5421, allocations: 7.984 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5421, allocations: 0 / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002515/0.5423, allocations: 287.1 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5423, allocations: 0 / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002784/0.5426, allocations: 39.84 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.0005988/0.5432, allocations: 0.7942 MB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5434, allocations: 75.84 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5434, allocations: 3.938 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.5435, allocations: 35.94 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.5439, allocations: 29.8 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.5467, allocations: 2.725 MB / 1.03 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.547, allocations: 0.802 MB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.376e-05/0.5471, allocations: 12.66 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5472, allocations: 99.39 kB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5472, allocations: 0 / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.5689, allocations: 4.857 MB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.64, allocations: 12.39 kB / 1.036 GB, free: 15.37 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches