Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 108 kB / 15.6 MB, free: 132 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.002057/0.002057, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.7 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.69 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.323, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003295/0.3263, allocations: 1.874 MB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3286, allocations: 1.581 MB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.3287, allocations: 0 / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3289, allocations: 23.8 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.3292, allocations: 83.53 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.3296, allocations: 163 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.3299, allocations: 289.3 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3301, allocations: 33.38 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3302, allocations: 95.77 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3304, allocations: 107.7 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.3305, allocations: 20 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3306, allocations: 83.97 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3307, allocations: 87.8 kB / 1.073 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3308, allocations: 131.2 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.3312, allocations: 315 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3312, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3312, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3312, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 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.0007759/0.332, allocations: 0.5578 MB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3321, allocations: 12.03 kB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.3322, allocations: 28.66 kB / 1.074 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3325, allocations: 278.7 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3325, allocations: 20.38 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.3326, allocations: 16.12 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.333, allocations: 244.8 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.333, allocations: 0 / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.333, allocations: 12 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.333, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.3339, allocations: 0.7451 MB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.3349, allocations: 0.6369 MB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.3354, allocations: 322.3 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3355, allocations: 113.4 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.3356, allocations: 24.23 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.3359, allocations: 179.4 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.443e-06/0.336, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006476/0.3366, allocations: 378 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.3367, allocations: 132.5 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.337, allocations: 313 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.337, allocations: 33.7 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3371, allocations: 136.7 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.3372, allocations: 106.3 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.3373, allocations: 65.69 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3374, allocations: 338.8 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3376, allocations: 83.94 kB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.3378, allocations: 132.4 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.3381, allocations: 204.7 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3381, allocations: 4 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004243/0.3385, allocations: 293.5 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3385, allocations: 4 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3386, allocations: 3.938 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3386, allocations: 4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.3388, allocations: 59.91 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3388, allocations: 3.984 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.339, allocations: 31.83 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.339, allocations: 12 kB / 1.078 GB, free: 15.8 MB / 0.8419 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.0001485/0.3391, allocations: 167.3 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.3392, allocations: 35.66 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.3398, allocations: 388.5 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3399, allocations: 4 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3399, allocations: 4 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3399, allocations: 0 / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.3402, allocations: 345.2 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3402, allocations: 0 / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3404, allocations: 63.91 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3404, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3404, allocations: 15.88 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3404, allocations: 7.984 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3404, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.3409, allocations: 330 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.341, allocations: 144.7 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.3411, allocations: 11.92 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3412, allocations: 19.98 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.3413, allocations: 27.97 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.3413, allocations: 11.98 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002028/0.3415, allocations: 236.4 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3416, allocations: 4 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002875/0.3419, allocations: 68 kB / 1.08 GB, free: 13.86 MB / 0.8419 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.0009207/0.3428, allocations: 409.7 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005103/0.3433, allocations: 307.5 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3433, allocations: 4 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3435, allocations: 123.8 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3438, allocations: 51.31 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.3446, allocations: 0.5291 MB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.345, allocations: 0.7614 MB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000322/0.3454, allocations: 142.9 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.3454, allocations: 47.41 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3455, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.006714/0.3522, allocations: 3.387 MB / 1.086 GB, free: 8.254 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches