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 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: 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.001515/0.001515, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001567/0.001567, allocations: 191 kB / 17.29 MB, free: 5.516 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.38 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3501, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003394/0.3535, allocations: 1.887 MB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3558, allocations: 1.577 MB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.3559, allocations: 8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3562, allocations: 27.77 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3565, allocations: 79.55 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.357, allocations: 174.4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.3574, allocations: 285.3 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3575, allocations: 37.09 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3576, allocations: 95.75 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3578, allocations: 103.7 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.3579, allocations: 20 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.358, allocations: 79.97 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3581, allocations: 91.73 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3583, allocations: 123.3 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.3587, allocations: 326.9 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3587, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3587, allocations: 8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3587, allocations: 0 / 1.031 GB, free: 13.14 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007817/0.3595, allocations: 0.5617 MB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3595, allocations: 8.031 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3597, allocations: 36.5 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.36, allocations: 274.7 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.36, allocations: 16.36 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3601, allocations: 20.12 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3604, allocations: 244.9 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3605, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.3605, allocations: 4 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3605, allocations: 4 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.3614, allocations: 0.7451 MB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3625, allocations: 0.637 MB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.363, allocations: 307.2 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3632, allocations: 109.4 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.3632, allocations: 20.25 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.3636, allocations: 191.9 kB / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.3636, allocations: 0 / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0006867/0.3643, allocations: 378.9 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3644, allocations: 136.5 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.3647, allocations: 305 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3648, allocations: 33.7 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3649, allocations: 128.7 kB / 1.036 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.365, allocations: 122.3 kB / 1.036 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3651, allocations: 61.69 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3653, allocations: 342.8 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3655, allocations: 83.81 kB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3657, allocations: 127.4 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.366, allocations: 213.4 kB / 1.036 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.366, allocations: 0 / 1.036 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004106/0.3664, allocations: 289.1 kB / 1.037 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3665, allocations: 4 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3665, allocations: 11.88 kB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3665, allocations: 0 / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3667, allocations: 71.89 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3667, allocations: 0 / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3669, allocations: 19.84 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.3669, allocations: 11.98 kB / 1.037 GB, free: 7.426 MB / 0.8106 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.0001538/0.3671, allocations: 161.8 kB / 1.037 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.3671, allocations: 27.72 kB / 1.037 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.3678, allocations: 388.6 kB / 1.037 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3678, allocations: 4 kB / 1.037 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3678, allocations: 4 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3678, allocations: 3.984 kB / 1.037 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.3681, allocations: 357 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3682, allocations: 0 / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3683, allocations: 59.91 kB / 1.038 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3683, allocations: 0 / 1.038 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.3684, allocations: 11.94 kB / 1.038 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3684, allocations: 4 kB / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3684, allocations: 0 / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.3689, allocations: 330.1 kB / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.3691, allocations: 148.6 kB / 1.038 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.3692, allocations: 7.938 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3693, allocations: 23.97 kB / 1.038 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.3694, allocations: 23.97 kB / 1.038 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.3694, allocations: 19.98 kB / 1.038 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000224/0.3697, allocations: 232.5 kB / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3697, allocations: 0 / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003061/0.37, allocations: 71.98 kB / 1.039 GB, free: 5.484 MB / 0.8106 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.001025/0.371, allocations: 410.7 kB / 1.039 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.3714, allocations: 231.7 kB / 1.039 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3714, allocations: 0 / 1.039 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.3717, allocations: 132.7 kB / 1.039 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.372, allocations: 37.84 kB / 1.039 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.3728, allocations: 0.5219 MB / 1.04 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3732, allocations: 0.7658 MB / 1.041 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.3735, allocations: 146.9 kB / 1.041 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3736, allocations: 43.42 kB / 1.041 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.3736, allocations: 0 / 1.041 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of Templates: time 0.007333/0.381, allocations: 3.396 MB / 1.044 GB, free: 15.95 MB / 0.8262 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 -s cvode -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/jenkins1/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