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.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001773/0.001773, allocations: 197.8 kB / 16.14 MB, free: 6.719 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7447 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 65.11 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00508/0.3342, allocations: 1.93 MB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3368, allocations: 1.541 MB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.337, allocations: 4 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3373, allocations: 19.86 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.3377, allocations: 63.73 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.3383, allocations: 159.2 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.3387, allocations: 261.4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.3388, allocations: 29.38 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.339, allocations: 83.77 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3393, allocations: 107.6 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.3393, allocations: 8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.3396, allocations: 79.95 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3398, allocations: 83.73 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.34, allocations: 107.3 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.3405, allocations: 303 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3405, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3405, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3405, allocations: 0 / 1.072 GB, free: 6.027 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.0009881/0.3415, allocations: 0.5694 MB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.3416, allocations: 16.03 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3418, allocations: 28.66 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3422, allocations: 274.7 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3422, allocations: 12.38 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3422, allocations: 20.12 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.3427, allocations: 240.9 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3427, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3427, allocations: 11.94 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3427, allocations: 8 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.3436, allocations: 0.7451 MB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3447, allocations: 0.6408 MB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.3452, allocations: 309.9 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3454, allocations: 109.4 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.3455, allocations: 24.23 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.3459, allocations: 183.4 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.3459, allocations: 4 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0007019/0.3466, allocations: 374.1 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.3467, allocations: 132.5 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.347, allocations: 309 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.347, allocations: 33.7 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.3471, allocations: 132.7 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.3472, allocations: 118.3 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3473, allocations: 65.62 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3475, allocations: 338.8 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3476, allocations: 83.95 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3478, allocations: 136.4 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.3481, allocations: 208.6 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3482, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004657/0.3486, allocations: 293.5 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3487, allocations: 4 kB / 1.077 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3487, allocations: 3.938 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3487, allocations: 4 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3489, allocations: 63.91 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.349, allocations: 0 / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.3491, allocations: 29.66 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3492, allocations: 11.98 kB / 1.078 GB, free: 292 kB / 0.8262 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.0001896/0.3494, allocations: 161.8 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.3494, allocations: 31.62 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.3502, allocations: 392.5 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3502, allocations: 4 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.3503, allocations: 0 / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3503, allocations: 8.016 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.3507, allocations: 345.2 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3507, allocations: 0 / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3509, allocations: 63.91 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3509, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3509, allocations: 15.92 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.3509, allocations: 4 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3509, allocations: 4 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.3515, allocations: 326.1 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3517, allocations: 144.7 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3517, allocations: 7.938 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3519, allocations: 23.97 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.352, allocations: 27.97 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.352, allocations: 16 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002438/0.3523, allocations: 236.4 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3523, allocations: 0 / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003443/0.3526, allocations: 67.98 kB / 1.079 GB, free: 14.34 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.001123/0.3538, allocations: 417.5 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.3542, allocations: 231.5 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3543, allocations: 3.938 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.3545, allocations: 123.9 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3548, allocations: 47.41 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.3558, allocations: 0.6159 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3561, allocations: 0.7653 MB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003487/0.3565, allocations: 146.8 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.3566, allocations: 43.41 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3566, allocations: 0 / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.007596/0.3642, allocations: 3.283 MB / 1.085 GB, free: 8.82 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