Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_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.004602/0.004602, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001223/0.001223, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.94 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2761, allocations: 162.2 MB / 1.241 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003617/0.2797, allocations: 2.442 MB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.2805, allocations: 0.5431 MB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.2806, allocations: 4 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.281, allocations: 127.7 kB / 1.245 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.2812, allocations: 91.28 kB / 1.245 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.2813, allocations: 43.89 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.2816, allocations: 242.7 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.2818, allocations: 107.7 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2819, allocations: 83.66 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2821, allocations: 99.5 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.2821, allocations: 16 kB / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.2821, allocations: 20 kB / 1.245 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.936e-05/0.2823, allocations: 87.61 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.2824, allocations: 151 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2828, allocations: 342.4 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2828, allocations: 4 kB / 1.246 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2828, allocations: 0 / 1.246 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2828, allocations: 3.938 kB / 1.246 GB, free: 4.875 MB / 0.9669 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.0008608/0.2837, allocations: 0.6609 MB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2837, allocations: 15.97 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.2838, allocations: 46.73 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2838, allocations: 52.66 kB / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.2842, allocations: 306.5 kB / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2843, allocations: 12.38 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.2843, allocations: 12.38 kB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.2846, allocations: 145.9 kB / 1.247 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2846, allocations: 3.938 kB / 1.247 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2846, allocations: 4 kB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2846, allocations: 4 kB / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.2849, allocations: 95.95 kB / 1.247 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.2857, allocations: 0.5821 MB / 1.248 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.286, allocations: 90.53 kB / 1.248 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.2861, allocations: 48.95 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2861, allocations: 7.938 kB / 1.248 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2861, allocations: 30.56 kB / 1.248 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.2861, allocations: 0 / 1.248 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003687/0.2865, allocations: 149.4 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2866, allocations: 51.41 kB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.287, allocations: 390 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.287, allocations: 33.7 kB / 1.248 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2872, allocations: 220.2 kB / 1.249 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.2872, allocations: 27.75 kB / 1.249 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.2873, allocations: 29.7 kB / 1.249 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2874, allocations: 346.8 kB / 1.249 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.2875, allocations: 23.98 kB / 1.249 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2876, allocations: 63.41 kB / 1.249 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2878, allocations: 91.67 kB / 1.249 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.2878, allocations: 0 / 1.249 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002762/0.2881, allocations: 149.3 kB / 1.249 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2881, allocations: 8.094 kB / 1.249 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2881, allocations: 0 / 1.249 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2882, allocations: 4 kB / 1.249 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2883, allocations: 27.92 kB / 1.249 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2883, allocations: 3.938 kB / 1.249 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.2884, allocations: 15.89 kB / 1.249 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2884, allocations: 7.938 kB / 1.249 GB, free: 0.9062 MB / 0.9669 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.0001531/0.2886, allocations: 157.8 kB / 1.25 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.2886, allocations: 39.77 kB / 1.25 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.2887, allocations: 43.2 kB / 1.25 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2887, allocations: 0 / 1.25 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2887, allocations: 0 / 1.25 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2887, allocations: 0 / 1.25 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.2891, allocations: 309.5 kB / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2891, allocations: 0 / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.2892, allocations: 23.92 kB / 1.25 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2892, allocations: 0 / 1.25 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2892, allocations: 8 kB / 1.25 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2892, allocations: 4 kB / 1.25 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2892, allocations: 4 kB / 1.25 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.2896, allocations: 259.3 kB / 1.25 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.2897, allocations: 113 kB / 1.25 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.2898, allocations: 11.92 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2899, allocations: 4 kB / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.2899, allocations: 0 / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2899, allocations: 4.062 kB / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002924/0.2902, allocations: 287.1 kB / 1.251 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2902, allocations: 4 kB / 1.251 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002776/0.2905, allocations: 39.95 kB / 1.251 GB, free: 15.53 MB / 0.9825 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.0006683/0.2912, allocations: 0.7943 MB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.2914, allocations: 75.91 kB / 1.251 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2914, allocations: 4 kB / 1.251 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.2915, allocations: 35.92 kB / 1.252 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2919, allocations: 25.48 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.2951, allocations: 2.709 MB / 1.254 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.2955, allocations: 0.7953 MB / 1.255 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.313e-05/0.2956, allocations: 20.58 kB / 1.255 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2957, allocations: 99.41 kB / 1.255 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2957, allocations: 0 / 1.255 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.323, allocations: 4.948 MB / 1.26 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.246, allocations: 13.8 kB / 1.26 GB, free: 6.008 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches