Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.006344/0.006344, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001483/0.001483, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 58.94 kB / 0.9504 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 140.4 MB / 1.087 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002924/0.2418, allocations: 1.87 MB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.244, allocations: 1.581 MB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.2441, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.2443, allocations: 31.78 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.2446, allocations: 79.55 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.2451, allocations: 178.9 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.2454, allocations: 281.4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2455, allocations: 43.61 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2456, allocations: 99.69 kB / 1.092 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2458, allocations: 103.7 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.2459, allocations: 20 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.246, allocations: 87.95 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.2461, allocations: 83.8 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.2462, allocations: 123.3 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2466, allocations: 331.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2466, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2466, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.2466, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007223/0.2473, allocations: 0.5618 MB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2474, allocations: 12.03 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.2474, allocations: 50.73 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.2476, allocations: 36.56 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2478, allocations: 274.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2479, allocations: 12.38 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.2479, allocations: 19.94 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.2483, allocations: 248.9 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2483, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2483, allocations: 8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2483, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.2491, allocations: 0.749 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.25, allocations: 0.6369 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.2505, allocations: 318.4 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2506, allocations: 105.4 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.2507, allocations: 16.25 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.251, allocations: 179.6 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.251, allocations: 0 / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0005997/0.2516, allocations: 382.1 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.2517, allocations: 144.5 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.2519, allocations: 305 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.252, allocations: 29.7 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.2521, allocations: 136.6 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.2521, allocations: 118.3 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.2522, allocations: 65.69 kB / 1.097 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2524, allocations: 334.8 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2525, allocations: 83.95 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2527, allocations: 136.3 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.253, allocations: 212.6 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.253, allocations: 0 / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003981/0.2534, allocations: 289.4 kB / 1.098 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2534, allocations: 11.94 kB / 1.098 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2534, allocations: 3.984 kB / 1.098 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2534, allocations: 0 / 1.098 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2536, allocations: 63.91 kB / 1.098 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2536, allocations: 8 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2538, allocations: 26.08 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2538, allocations: 12 kB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001414/0.2539, allocations: 161.7 kB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.254, allocations: 31.56 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.2546, allocations: 380.7 kB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2546, allocations: 4 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2546, allocations: 7.984 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2546, allocations: 0 / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.2549, allocations: 345.3 kB / 1.099 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2549, allocations: 4 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2551, allocations: 55.91 kB / 1.099 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2551, allocations: 7.938 kB / 1.099 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2551, allocations: 8 kB / 1.099 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2551, allocations: 0 / 1.099 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2552, allocations: 0 / 1.099 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.2556, allocations: 334 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.2557, allocations: 144.6 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.2558, allocations: 15.94 kB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2559, allocations: 27.97 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.256, allocations: 19.97 kB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.256, allocations: 15.98 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001817/0.2562, allocations: 240.4 kB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2562, allocations: 0 / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002674/0.2565, allocations: 60 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001445/0.2579, allocations: 1.169 MB / 1.101 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.2583, allocations: 232.1 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2583, allocations: 4 kB / 1.101 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2585, allocations: 127.8 kB / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.2588, allocations: 45.36 kB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.2615, allocations: 2.515 MB / 1.103 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2618, allocations: 0.7697 MB / 1.104 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003089/0.2622, allocations: 143 kB / 1.104 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2623, allocations: 99.33 kB / 1.104 GB, free: 384 kB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2623, allocations: 4 kB / 1.104 GB, free: 380 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.843/4.105, allocations: 6.111 MB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/20.7, allocations: 16.33 kB / 1.11 GB, free: 10.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches