Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.9 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.848e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003302/0.003331, allocations: 2.369 MB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.004016, allocations: 0.5003 MB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.004098, allocations: 4 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.004413, allocations: 115.2 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.004523, allocations: 103.1 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.004629, allocations: 47.94 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004815, allocations: 250.6 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.004979, allocations: 79.45 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.005115, allocations: 135.7 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005215, allocations: 67.75 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.005248, allocations: 16 kB / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.568e-05/0.005274, allocations: 20 kB / 0.9846 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.005352, allocations: 87.67 kB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.005415, allocations: 83.73 kB / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.005666, allocations: 326.8 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.00567, allocations: 4 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005671, allocations: 3.938 kB / 0.9851 GB, free: 14.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.005677, allocations: 0 / 0.9851 GB, free: 14.35 MB / 0.948 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.0005931/0.00627, allocations: 0.5779 MB / 0.9856 GB, free: 13.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.006311, allocations: 8.031 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.006351, allocations: 46.73 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.006394, allocations: 48.59 kB / 0.9857 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.00664, allocations: 251.9 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.006655, allocations: 16.12 kB / 0.986 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.00668, allocations: 12.38 kB / 0.986 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.00688, allocations: 134.2 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.006892, allocations: 4.141 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.006906, allocations: 8.375 kB / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006913, allocations: 8.125 kB / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.007064, allocations: 89.52 kB / 0.9862 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.007643, allocations: 0.5224 MB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.007842, allocations: 94.48 kB / 0.9868 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.007907, allocations: 40.89 kB / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.007918, allocations: 4 kB / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.007938, allocations: 34.56 kB / 0.9869 GB, free: 12.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.007939, allocations: 0 / 0.9869 GB, free: 12.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002457/0.008185, allocations: 145.4 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.008217, allocations: 59.41 kB / 0.9871 GB, free: 12.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.008481, allocations: 390 kB / 0.9875 GB, free: 11.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.008494, allocations: 25.7 kB / 0.9875 GB, free: 11.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.008608, allocations: 224.2 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.008631, allocations: 35.69 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.008668, allocations: 25.72 kB / 0.9878 GB, free: 11.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.008767, allocations: 346.7 kB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.008825, allocations: 31.98 kB / 0.9881 GB, free: 11.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.008884, allocations: 55.36 kB / 0.9882 GB, free: 10.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.008992, allocations: 95.36 kB / 0.9883 GB, free: 10.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008994, allocations: 0 / 0.9883 GB, free: 10.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001561/0.00915, allocations: 145.7 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.009164, allocations: 11.98 kB / 0.9884 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00917, allocations: 96 / 0.9884 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.009184, allocations: 7.938 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.009255, allocations: 24.09 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.009262, allocations: 3.984 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.009304, allocations: 11.94 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.00931, allocations: 7.938 kB / 0.9885 GB, free: 10.64 MB / 0.948 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.0001158/0.009426, allocations: 165.7 kB / 0.9886 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.009456, allocations: 35.77 kB / 0.9887 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.009503, allocations: 43.27 kB / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.009505, allocations: 0 / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.00951, allocations: 0 / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009513, allocations: 0 / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.009733, allocations: 272.5 kB / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009734, allocations: 0 / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.009809, allocations: 23.98 kB / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.009811, allocations: 4 kB / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.009819, allocations: 0 / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00982, allocations: 0 / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009821, allocations: 0 / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01005, allocations: 255.2 kB / 0.9892 GB, free: 9.789 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.01009, allocations: 31.8 kB / 0.9893 GB, free: 9.758 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.01011, allocations: 8.062 kB / 0.9893 GB, free: 9.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.01016, allocations: 7.984 kB / 0.9893 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.0102, allocations: 7.938 kB / 0.9893 GB, free: 9.734 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.0102, allocations: 4 kB / 0.9893 GB, free: 9.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001751/0.01038, allocations: 283.1 kB / 0.9896 GB, free: 9.457 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 0.9896 GB, free: 9.457 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000183/0.01056, allocations: 47.89 kB / 0.9896 GB, free: 9.41 MB / 0.948 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.000416/0.01098, allocations: 0.7908 MB / 0.9904 GB, free: 8.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01112, allocations: 71.97 kB / 0.9905 GB, free: 8.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01112, allocations: 0 / 0.9905 GB, free: 8.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.01116, allocations: 31.92 kB / 0.9905 GB, free: 8.488 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01146, allocations: 29.62 kB / 0.9905 GB, free: 8.461 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.01361, allocations: 2.687 MB / 0.9931 GB, free: 5.672 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.01374, allocations: 187 kB / 0.9933 GB, free: 5.473 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.347e-05/0.01379, allocations: 12.66 kB / 0.9933 GB, free: 5.457 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.01389, allocations: 100.5 kB / 0.9934 GB, free: 5.359 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01389, allocations: 7.938 kB / 0.9934 GB, free: 5.352 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.03232, allocations: 5.63 MB / 0.9989 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.984, allocations: 7.344 kB / 0.9989 GB, free: 15.91 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.060093954205513]