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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 105.4 kB / 16.37 MB, free: 6.457 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.001112/0.001112, allocations: 191.8 kB / 17.31 MB, free: 5.812 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.28 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3288, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004497/0.3334, allocations: 2.454 MB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.3343, allocations: 0.5315 MB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.3344, allocations: 0 / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.3349, allocations: 131.7 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3351, allocations: 95.22 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.3352, allocations: 47.89 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.3355, allocations: 242.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.3358, allocations: 111 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3359, allocations: 87.66 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3362, allocations: 99.48 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.3363, allocations: 20 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-05/0.3363, allocations: 16 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3364, allocations: 87.69 kB / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3366, allocations: 151 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.337, allocations: 342.7 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.337, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.013e-06/0.337, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.337, allocations: 4 kB / 1.031 GB, free: 13.66 MB / 0.8106 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.001032/0.338, allocations: 0.6417 MB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3381, allocations: 8.031 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.3382, allocations: 40.47 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.3386, allocations: 306.1 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3387, allocations: 16.38 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.3387, allocations: 16.31 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.339, allocations: 141.9 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.339, allocations: 192 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.339, allocations: 7.938 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3391, allocations: 7.938 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.3393, allocations: 99.89 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.3402, allocations: 0.5855 MB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.3404, allocations: 86.55 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.3405, allocations: 44.95 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3405, allocations: 4 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3406, allocations: 34.56 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3406, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003551/0.3409, allocations: 149.1 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.341, allocations: 59.34 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.3416, allocations: 390 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3416, allocations: 25.7 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3418, allocations: 212 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.3418, allocations: 31.55 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3419, allocations: 33.7 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3421, allocations: 346.8 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.3421, allocations: 27.98 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.3422, allocations: 55.41 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3424, allocations: 91.36 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3424, allocations: 4 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002346/0.3427, allocations: 153.4 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3427, allocations: 4 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3427, allocations: 0 / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3427, allocations: 4 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3428, allocations: 28.08 kB / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3428, allocations: 3.938 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.3429, allocations: 15.84 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3429, allocations: 4 kB / 1.035 GB, free: 9.785 MB / 0.8106 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.0001499/0.3431, allocations: 161.8 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.3432, allocations: 31.62 kB / 1.035 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.3432, allocations: 47.14 kB / 1.035 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3432, allocations: 0 / 1.035 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.3432, allocations: 4 kB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3432, allocations: 0 / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.3436, allocations: 313.4 kB / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3436, allocations: 0 / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3437, allocations: 19.98 kB / 1.035 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3437, allocations: 4 kB / 1.035 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3437, allocations: 7.938 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3437, allocations: 0 / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3437, allocations: 0 / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.3441, allocations: 255 kB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3442, allocations: 108.7 kB / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3442, allocations: 4 kB / 1.035 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.3443, allocations: 7.984 kB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3444, allocations: 0 / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.3444, allocations: 8 kB / 1.035 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002632/0.3447, allocations: 279.1 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3447, allocations: 0 / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002689/0.3449, allocations: 51.84 kB / 1.036 GB, free: 8.414 MB / 0.8106 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.0001336/0.3451, allocations: 101.6 kB / 1.036 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3453, allocations: 79.97 kB / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3453, allocations: 0 / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.3454, allocations: 31.98 kB / 1.036 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3458, allocations: 29.73 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.347, allocations: 0.6571 MB / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3473, allocations: 0.7949 MB / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.98e-05/0.3474, allocations: 12.64 kB / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3475, allocations: 15.44 kB / 1.037 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3475, allocations: 0 / 1.037 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of Templates: time 0.00457/0.352, allocations: 1.269 MB / 1.039 GB, free: 5.383 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/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