Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001681/0.001681, allocations: 105.7 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.001875/0.001875, allocations: 187 kB / 17.34 MB, free: 5.73 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.341/1.341, 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 10.1.1-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8091, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00355/0.8127, allocations: 1.881 MB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.8153, allocations: 1.581 MB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.8154, allocations: 4 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.8157, allocations: 27.78 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.8161, allocations: 79.55 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.8166, allocations: 174.9 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.8171, allocations: 277.4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.8172, allocations: 37.09 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.8174, allocations: 91.77 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.8177, allocations: 111.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.8177, allocations: 20 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.8179, allocations: 87.95 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.8181, allocations: 87.8 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.8182, allocations: 123.3 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.8187, allocations: 322.6 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8187, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8187, allocations: 7.938 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.8187, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 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.0009474/0.8197, allocations: 0.5619 MB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8197, allocations: 12.92 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.8199, allocations: 28.66 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.8203, allocations: 282.6 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.8203, allocations: 12.38 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.8204, allocations: 20.12 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.8208, allocations: 248.8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8208, allocations: 0 / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.8208, allocations: 8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8208, allocations: 4 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.8217, allocations: 0.749 MB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.8228, allocations: 0.6331 MB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.8234, allocations: 309.9 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.8235, allocations: 109.4 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.8236, allocations: 16.25 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.824, allocations: 192.5 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 2.265e-06/0.824, allocations: 0 / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.0006969/0.8247, allocations: 377.4 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.8248, allocations: 132.5 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.8251, allocations: 309 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.8251, allocations: 33.7 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.8252, allocations: 136.6 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.688e-05/0.8253, allocations: 118.3 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.8254, allocations: 69.69 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8256, allocations: 342.8 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.8257, allocations: 83.89 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.8259, allocations: 123.4 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.8262, allocations: 218.3 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8262, allocations: 0 / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004726/0.8267, allocations: 281 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8268, allocations: 8 kB / 1.177 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.8268, allocations: 7.938 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.8268, allocations: 0 / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.827, allocations: 59.91 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.8271, allocations: 4 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.8272, allocations: 27.83 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.8273, allocations: 11.98 kB / 1.177 GB, free: 9.27 MB / 0.9044 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.8274, allocations: 161.8 kB / 1.178 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.8275, allocations: 31.56 kB / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.8282, allocations: 396.8 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.8282, allocations: 7.984 kB / 1.178 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8282, allocations: 4 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.8282, allocations: 3.984 kB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.8286, allocations: 337.3 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8286, allocations: 0 / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.8288, allocations: 63.91 kB / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8288, allocations: 0 / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.8288, allocations: 15.92 kB / 1.178 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.8288, allocations: 0 / 1.178 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8288, allocations: 4 kB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.8293, allocations: 321.6 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.8295, allocations: 144.7 kB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.8295, allocations: 11.94 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.8297, allocations: 23.92 kB / 1.179 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.8298, allocations: 35.75 kB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.8298, allocations: 12 kB / 1.179 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000209/0.83, allocations: 236.4 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.83, allocations: 4 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003234/0.8304, allocations: 63.94 kB / 1.179 GB, free: 7.316 MB / 0.9044 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.0009613/0.8313, allocations: 414.1 kB / 1.18 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.8318, allocations: 228.3 kB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8318, allocations: 4 kB / 1.18 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.832, allocations: 128.3 kB / 1.18 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.8323, allocations: 39.98 kB / 1.18 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.8333, allocations: 0.5704 MB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.8336, allocations: 0.7653 MB / 1.181 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.8337, allocations: 55.41 kB / 1.181 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8337, allocations: 0 / 1.181 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of Templates: time 0.007937/0.8417, allocations: 4.502 MB / 1.186 GB, free: 0.7305 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches