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.001495/0.001495, allocations: 109 kB / 16.41 MB, free: 6.488 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.001628/0.001628, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9358, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003339/0.9391, allocations: 1.878 MB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.9413, allocations: 1.587 MB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.9414, allocations: 2.281 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.9416, allocations: 24.83 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.9419, allocations: 77.16 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.9424, allocations: 175 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.9428, allocations: 282.7 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.943, allocations: 47.2 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.9431, allocations: 91.53 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.9434, allocations: 105.5 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.9434, allocations: 20 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.9436, allocations: 87.8 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.9438, allocations: 86.38 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.9439, allocations: 128.8 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.9444, allocations: 330.8 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9444, allocations: 0 / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9444, allocations: 1.156 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.9444, allocations: 0.5156 kB / 1.093 GB, free: 2.465 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.0007758/0.9452, allocations: 0.5537 MB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9452, allocations: 9.094 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.9454, allocations: 34.62 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.9457, allocations: 277.5 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.9457, allocations: 16.36 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.9458, allocations: 23.81 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.9462, allocations: 236.3 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9463, allocations: 0.9688 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.9463, allocations: 9.812 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.9463, allocations: 5.156 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.9475, allocations: 0.7451 MB / 1.095 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.9486, allocations: 0.6409 MB / 1.096 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.9492, allocations: 309.3 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.9494, allocations: 109.2 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.9495, allocations: 25.92 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/0.9499, allocations: 172.1 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 2.043e-06/0.9499, allocations: 0.9062 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0007522/0.9507, allocations: 383 kB / 1.097 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.9508, allocations: 136.6 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.9511, allocations: 306 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.9511, allocations: 36.17 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.9512, allocations: 137.6 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.9513, allocations: 123.3 kB / 1.098 GB, free: 76 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.9514, allocations: 66.47 kB / 1.098 GB, free: 40 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9515, allocations: 342.3 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.9517, allocations: 80.2 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.9519, allocations: 131.7 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.9523, allocations: 209.3 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.9523, allocations: 4.781 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005068/0.9528, allocations: 287.7 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9528, allocations: 5.25 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9528, allocations: 4.688 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9528, allocations: 1.688 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.9531, allocations: 64.81 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.9531, allocations: 1.891 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.9533, allocations: 24.77 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.9533, allocations: 13.25 kB / 1.099 GB, free: 15.39 MB / 0.8731 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.0001954/0.9535, allocations: 171.2 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.9536, allocations: 26.58 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.9544, allocations: 393.1 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9544, allocations: 4.75 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9544, allocations: 0 / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9544, allocations: 2.484 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.9548, allocations: 339.5 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9548, allocations: 0 / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.955, allocations: 58.47 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.955, allocations: 1.5 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.9551, allocations: 15.12 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.9551, allocations: 5.219 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.9551, allocations: 0 / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.9556, allocations: 334.8 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.9558, allocations: 143.7 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.9559, allocations: 14.44 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.9561, allocations: 22.61 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.9562, allocations: 21.06 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.9562, allocations: 20.69 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002363/0.9564, allocations: 236.8 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.443e-06/0.9564, allocations: 0.9062 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003587/0.9568, allocations: 74.34 kB / 1.101 GB, free: 14.32 MB / 0.8731 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.0009529/0.9578, allocations: 401 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.9582, allocations: 228 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9583, allocations: 0.6875 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.9585, allocations: 139.2 kB / 1.101 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.9588, allocations: 41.31 kB / 1.101 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.9599, allocations: 0.5409 MB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.9602, allocations: 0.7669 MB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.9603, allocations: 51.42 kB / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.9603, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.00849/0.9688, allocations: 4.509 MB / 1.107 GB, free: 12.44 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/jenkins1/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