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: "" <> 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.000923/0.000923, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00532/0.00532, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 10.66 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002317/0.2442, allocations: 2.142 MB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000623/0.2448, allocations: 0.5122 MB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.2449, allocations: 4 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.2453, allocations: 124.1 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.2454, allocations: 87.34 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.075e-05/0.2455, allocations: 39.97 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.2457, allocations: 238.5 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.2459, allocations: 98.97 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.246, allocations: 63.72 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2461, allocations: 95.45 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2462, allocations: 8 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.788e-05/0.2462, allocations: 8 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.2463, allocations: 63.7 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2464, allocations: 168.7 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2466, allocations: 318.6 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2467, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2467, allocations: 4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2467, allocations: 4 kB / 1.063 GB, free: 0.8633 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.0006599/0.2473, allocations: 0.5913 MB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2474, allocations: 11.97 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.2474, allocations: 46.73 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.2475, allocations: 44.47 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2478, allocations: 310 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2478, allocations: 16.36 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2479, allocations: 12.38 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2481, allocations: 141.9 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2482, allocations: 3.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2482, allocations: 8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2482, allocations: 4 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.2484, allocations: 95.95 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.2491, allocations: 0.5934 MB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.2493, allocations: 82.5 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.2494, allocations: 48.94 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2495, allocations: 4 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2495, allocations: 34.56 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2495, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003301/0.2498, allocations: 145.4 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.2499, allocations: 51.41 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.2502, allocations: 390 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2502, allocations: 33.64 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2504, allocations: 220 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2504, allocations: 35.48 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.2504, allocations: 17.72 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2506, allocations: 350.7 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.2506, allocations: 31.98 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.2507, allocations: 51.36 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.2509, allocations: 95.36 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2509, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002262/0.2511, allocations: 141.1 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2512, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2512, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.2512, allocations: 3.938 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2513, allocations: 23.98 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2513, allocations: 4 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.2514, allocations: 16.03 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.2514, allocations: 11.92 kB / 1.066 GB, free: 12.98 MB / 0.8262 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.000128/0.2516, allocations: 169.7 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.2516, allocations: 31.53 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.2517, allocations: 39.22 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2517, allocations: 3.984 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2517, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2517, allocations: 4 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.252, allocations: 305.5 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.252, allocations: 4 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2521, allocations: 15.98 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2521, allocations: 4.094 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2521, allocations: 7.938 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2522, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2522, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.2525, allocations: 262.9 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2526, allocations: 112.7 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2526, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2527, allocations: 4 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2527, allocations: 7.984 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2528, allocations: 0 / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002395/0.253, allocations: 287.1 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.423e-06/0.253, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002593/0.2533, allocations: 51.78 kB / 1.067 GB, free: 11.59 MB / 0.8262 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.00054/0.2538, allocations: 0.7863 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.254, allocations: 71.91 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.254, allocations: 0.625 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.2541, allocations: 43.86 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2545, allocations: 25.5 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.2572, allocations: 2.857 MB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2575, allocations: 0.7991 MB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.004e-05/0.2576, allocations: 16.64 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2577, allocations: 99.41 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2577, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8039/1.062, allocations: 4.671 MB / 1.077 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.062, allocations: 221.7 kB / 1.077 GB, free: 2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.233, allocations: 0.875 kB / 1.077 GB, free: 2 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.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