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.001806/0.001806, 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.002097/0.002097, allocations: 194 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 62.58 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.326, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003077/0.3291, allocations: 1.873 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3312, allocations: 1.58 MB / 1.072 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.3313, allocations: 4 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.3315, allocations: 27.78 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.3318, allocations: 75.55 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.3322, allocations: 172.3 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.3325, allocations: 281.4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3326, allocations: 29.39 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3327, allocations: 95.75 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.333, allocations: 111.7 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.333, allocations: 24 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3332, allocations: 87.91 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3333, allocations: 87.8 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3334, allocations: 123.3 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3338, allocations: 315 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3338, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3338, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3338, allocations: 0 / 1.073 GB, free: 5.578 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.0007084/0.3345, allocations: 0.5578 MB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.3345, allocations: 8.031 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3347, allocations: 32.64 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.335, allocations: 282.6 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.335, allocations: 16.38 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3351, allocations: 20.12 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.3354, allocations: 236.9 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3355, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.3355, allocations: 12 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3355, allocations: 8 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.3363, allocations: 0.7451 MB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.3372, allocations: 0.6447 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.3377, allocations: 314.3 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3378, allocations: 117.4 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.3379, allocations: 16.25 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.3382, allocations: 179.4 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.3382, allocations: 4 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006314/0.3388, allocations: 382.9 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.3389, allocations: 132.5 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.3392, allocations: 309 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3392, allocations: 29.7 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.3393, allocations: 136.7 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.3394, allocations: 114.3 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.3395, allocations: 65.69 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3396, allocations: 342.8 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3398, allocations: 79.95 kB / 1.078 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3399, allocations: 131.5 kB / 1.078 GB, free: 464 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.3402, allocations: 209.2 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3402, allocations: 0 / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004195/0.3407, allocations: 288.9 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3407, allocations: 4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3407, allocations: 11.94 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3407, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3409, allocations: 63.91 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.341, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.3411, allocations: 32.39 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3411, allocations: 8 kB / 1.078 GB, free: 15.84 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.0001468/0.3413, allocations: 165.7 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.3413, allocations: 31.61 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.342, allocations: 396.5 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.342, allocations: 8.031 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.342, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.342, allocations: 3.938 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.3423, allocations: 345.2 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3423, allocations: 0 / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3425, allocations: 55.97 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3425, allocations: 4 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3425, allocations: 11.94 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3426, allocations: 7.938 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3426, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.343, allocations: 330.1 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3431, allocations: 140.7 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.3432, allocations: 15.88 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3434, allocations: 23.97 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3435, allocations: 27.97 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.3435, allocations: 11.98 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002003/0.3437, allocations: 240.4 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3437, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002893/0.344, allocations: 64 kB / 1.08 GB, free: 13.9 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.0009158/0.3449, allocations: 410.3 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.3454, allocations: 303.5 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3455, allocations: 0 / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3457, allocations: 135.8 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3459, allocations: 44.7 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.3468, allocations: 0.5345 MB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3471, allocations: 0.7621 MB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.3474, allocations: 142.9 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3475, allocations: 47.41 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3475, allocations: 0 / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.006744/0.3543, allocations: 3.395 MB / 1.086 GB, free: 8.281 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