Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_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.007942/0.007942, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001978/0.001978, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.395/2.395, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.19 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003413/0.2399, allocations: 2.437 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008063/0.2408, allocations: 0.5471 MB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2409, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.2413, allocations: 135.2 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2415, allocations: 91.27 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.2417, allocations: 35.97 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.2419, allocations: 250.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.2422, allocations: 103.1 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2423, allocations: 79.73 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2425, allocations: 111.4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.2425, allocations: 20 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.819e-05/0.2426, allocations: 16 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.2426, allocations: 83.69 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2428, allocations: 155 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.2431, allocations: 335.5 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2431, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.803e-06/0.2431, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.2432, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 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.0008647/0.244, allocations: 0.657 MB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2441, allocations: 11.97 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.2441, allocations: 46.73 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.2442, allocations: 44.38 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.2446, allocations: 306.2 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2446, allocations: 8.375 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.2447, allocations: 16.38 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.2449, allocations: 141.9 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2449, allocations: 3.938 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.245, allocations: 8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.245, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.2452, allocations: 91.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.246, allocations: 0.5897 MB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2462, allocations: 86.56 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.2464, allocations: 48.89 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.2464, allocations: 11.91 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2464, allocations: 30.56 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2464, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003579/0.2468, allocations: 149.1 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2468, allocations: 51.41 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.2472, allocations: 390 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2472, allocations: 25.7 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2474, allocations: 216.4 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2474, allocations: 27.56 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.2475, allocations: 33.61 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2476, allocations: 354.7 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.2477, allocations: 27.94 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.2478, allocations: 59.34 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.2479, allocations: 95.36 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.248, allocations: 0 / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002413/0.2482, allocations: 141.2 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2482, allocations: 4 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2482, allocations: 4 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2483, allocations: 0 / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2484, allocations: 23.98 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2484, allocations: 8.094 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.2485, allocations: 7.844 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.2485, allocations: 11.94 kB / 1.095 GB, free: 9.602 MB / 0.8575 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.0001863/0.2487, allocations: 161.8 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.2488, allocations: 39.61 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.2489, allocations: 35.22 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2489, allocations: 4 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2489, allocations: 0 / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2489, allocations: 0 / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.2494, allocations: 317.4 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2494, allocations: 0 / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2496, allocations: 19.98 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2496, allocations: 0 / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2496, allocations: 0 / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2496, allocations: 0 / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2496, allocations: 0 / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.2499, allocations: 267 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/0.2501, allocations: 116.6 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2501, allocations: 4 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2502, allocations: 8 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.2502, allocations: 4 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2502, allocations: 7.922 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002569/0.2505, allocations: 283.1 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2505, allocations: 0 / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002756/0.2508, allocations: 39.91 kB / 1.097 GB, free: 8.223 MB / 0.8575 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.0005807/0.2514, allocations: 0.7907 MB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2516, allocations: 67.91 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2516, allocations: 4 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.2517, allocations: 40.17 kB / 1.097 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2521, allocations: 31.92 kB / 1.098 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.255, allocations: 2.693 MB / 1.1 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2554, allocations: 0.802 MB / 1.101 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.2554, allocations: 12.64 kB / 1.101 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.2556, allocations: 103.4 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.2556, allocations: 0 / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.277, allocations: 4.96 MB / 1.106 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.202, allocations: 12.39 kB / 1.106 GB, free: 14.71 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches