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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_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_9_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.005586/0.005586, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001127/0.001127, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.432/2.432, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.44 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3445, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003192/0.3478, allocations: 1.873 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.35, allocations: 1.581 MB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.3501, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3503, allocations: 31.73 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3507, allocations: 75.53 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3511, allocations: 179.2 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.3515, allocations: 289.4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3516, allocations: 36.8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3517, allocations: 95.75 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.352, allocations: 107.7 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.352, allocations: 20 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.3522, allocations: 91.91 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3524, allocations: 87.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3525, allocations: 127.2 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.3529, allocations: 322.9 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3529, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3529, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3529, allocations: 0 / 1.093 GB, free: 12.55 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.0008852/0.3538, allocations: 0.5578 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3539, allocations: 12.03 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3541, allocations: 36.56 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.3544, allocations: 274.7 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3544, allocations: 12.38 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3545, allocations: 16.12 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.3549, allocations: 240.9 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3549, allocations: 4 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3549, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3549, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.3558, allocations: 0.7529 MB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3569, allocations: 0.6369 MB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.3574, allocations: 306.4 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.3576, allocations: 117.4 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.3576, allocations: 20.25 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.358, allocations: 171.6 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.358, allocations: 0 / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0007992/0.3588, allocations: 382 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.3589, allocations: 136.5 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.3593, allocations: 305 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3593, allocations: 37.7 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3594, allocations: 136.6 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.3595, allocations: 114.4 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3597, allocations: 65.69 kB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3598, allocations: 338.8 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.36, allocations: 83.94 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3602, allocations: 132.3 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3605, allocations: 216.7 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3605, allocations: 0 / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004574/0.361, allocations: 293.5 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.361, allocations: 5.875 kB / 1.098 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3611, allocations: 3.938 kB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3611, allocations: 0 / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3613, allocations: 67.91 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3613, allocations: 3.938 kB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3615, allocations: 23.83 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3615, allocations: 12 kB / 1.098 GB, free: 6.84 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.0001664/0.3617, allocations: 169.7 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3618, allocations: 27.72 kB / 1.098 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.3624, allocations: 384.6 kB / 1.099 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3625, allocations: 4 kB / 1.099 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3625, allocations: 0 / 1.099 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3625, allocations: 4.031 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.3628, allocations: 349.2 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3628, allocations: 0 / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.363, allocations: 59.91 kB / 1.099 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.363, allocations: 0 / 1.099 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.3631, allocations: 15.94 kB / 1.099 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.3631, allocations: 7.984 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3631, allocations: 0 / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.3636, allocations: 326 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.3637, allocations: 148.6 kB / 1.099 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3638, allocations: 15.92 kB / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3639, allocations: 19.98 kB / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.364, allocations: 27.97 kB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.3641, allocations: 19.98 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000223/0.3643, allocations: 236.4 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3643, allocations: 0 / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003042/0.3646, allocations: 64 kB / 1.1 GB, free: 4.887 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.001007/0.3656, allocations: 400.9 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.366, allocations: 231.7 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.366, allocations: 0 / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.3663, allocations: 131.8 kB / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3666, allocations: 49.72 kB / 1.101 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.3675, allocations: 0.5198 MB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3679, allocations: 0.7619 MB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003162/0.3682, allocations: 150.9 kB / 1.102 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.3683, allocations: 39.42 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/0.3683, allocations: 0 / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of Templates: time 0.007627/0.376, allocations: 3.448 MB / 1.105 GB, free: 15.3 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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