Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_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.001595/0.001595, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 188.4 kB / 16.67 MB, free: 6.582 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: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2387, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003143/0.2419, allocations: 2.436 MB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006843/0.2426, allocations: 0.547 MB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.2427, allocations: 8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.243, allocations: 123.7 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2432, allocations: 95.27 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.545e-05/0.2433, allocations: 39.95 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.2435, allocations: 246.7 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2437, allocations: 103.1 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2438, allocations: 87.66 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2439, allocations: 103.4 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.244, allocations: 20 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.244, allocations: 24 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.2441, allocations: 83.69 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2442, allocations: 147 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.2446, allocations: 338.4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2446, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2446, allocations: 4 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2446, allocations: 3.938 kB / 1.17 GB, free: 2.891 MB / 0.92 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.0007632/0.2453, allocations: 0.6609 MB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.2454, allocations: 8.031 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.2454, allocations: 58.67 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.2455, allocations: 44.66 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2458, allocations: 310.5 kB / 1.172 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2459, allocations: 8.375 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.2459, allocations: 20.38 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.2461, allocations: 130 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2462, allocations: 7.938 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2462, allocations: 8 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2462, allocations: 4 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.2464, allocations: 91.95 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.2471, allocations: 0.586 MB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2473, allocations: 94.59 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.2474, allocations: 48.84 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2475, allocations: 0 / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2475, allocations: 30.56 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.2475, allocations: 0 / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0003178/0.2478, allocations: 153.4 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.2478, allocations: 55.77 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.2482, allocations: 382 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2482, allocations: 29.7 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2484, allocations: 220.2 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2484, allocations: 39.66 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.2485, allocations: 25.72 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2486, allocations: 350.7 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.2487, allocations: 31.98 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.2488, allocations: 55.36 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.249, allocations: 91.36 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.249, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002312/0.2492, allocations: 145.4 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2492, allocations: 9.969 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2492, allocations: 4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2493, allocations: 3.938 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2494, allocations: 23.98 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2494, allocations: 4 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.2494, allocations: 11.97 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.2495, allocations: 11.94 kB / 1.174 GB, free: 14.93 MB / 0.9356 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.0001471/0.2496, allocations: 165.8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.2497, allocations: 35.77 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.2497, allocations: 35.22 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2497, allocations: 7.984 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2497, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2497, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.25, allocations: 309.5 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2501, allocations: 0 / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.2502, allocations: 20 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2502, allocations: 0 / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2502, allocations: 7.984 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2502, allocations: 96 / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2502, allocations: 3.938 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.2505, allocations: 259.1 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.2506, allocations: 116.8 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.2507, allocations: 8.062 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.2507, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2508, allocations: 11.98 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2508, allocations: 0 / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002532/0.251, allocations: 283.1 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.823e-06/0.251, allocations: 0 / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002386/0.2513, allocations: 47.89 kB / 1.175 GB, free: 13.55 MB / 0.9356 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.0005868/0.2519, allocations: 0.7865 MB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2521, allocations: 75.91 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2521, allocations: 0 / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.2522, allocations: 36.3 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.2525, allocations: 33.88 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2553, allocations: 2.723 MB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.2557, allocations: 0.7981 MB / 1.18 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.2557, allocations: 16.64 kB / 1.18 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2558, allocations: 95.41 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2558, allocations: 0 / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.81/2.065, allocations: 4.949 MB / 1.185 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/11.01, allocations: 7.891 kB / 1.185 GB, free: 4.039 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches