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.00164/0.00164, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.00171/0.00171, allocations: 188.1 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.2 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.292/2.292, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003993/1.11, allocations: 1.878 MB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002561/1.112, allocations: 1.584 MB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/1.113, allocations: 0.9062 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/1.113, allocations: 25.72 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003691/1.113, allocations: 81.41 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/1.114, allocations: 172.9 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/1.114, allocations: 287.9 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/1.114, allocations: 38.33 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/1.115, allocations: 96.95 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/1.115, allocations: 102.6 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/1.115, allocations: 19.97 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/1.115, allocations: 87.64 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/1.115, allocations: 86.16 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/1.116, allocations: 121.2 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/1.116, allocations: 330.2 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.116, allocations: 1.406 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.116, allocations: 3.938 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.258e-05/1.116, allocations: 4 kB / 1.093 GB, free: 2.461 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.0008808/1.117, allocations: 0.5543 MB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.117, allocations: 9.531 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/1.117, allocations: 34.06 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/1.118, allocations: 278.3 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.118, allocations: 11.38 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/1.118, allocations: 23.72 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/1.118, allocations: 240.7 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.118, allocations: 0 / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/1.118, allocations: 11.03 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/1.118, allocations: 5.469 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.12, allocations: 0.7443 MB / 1.095 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/1.121, allocations: 0.6411 MB / 1.096 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/1.122, allocations: 310.3 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/1.122, allocations: 112.3 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/1.122, allocations: 20.98 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/1.122, allocations: 177.5 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/1.122, allocations: 4 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0009099/1.123, allocations: 379.2 kB / 1.097 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/1.123, allocations: 134 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/1.124, allocations: 305.6 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/1.124, allocations: 35.7 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/1.124, allocations: 137 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.124, allocations: 119.6 kB / 1.098 GB, free: 80 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.124, allocations: 66.44 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.124, allocations: 346.1 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.125, allocations: 85.12 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/1.125, allocations: 130.8 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/1.125, allocations: 209.7 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.125, allocations: 0.6562 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006386/1.126, allocations: 287.7 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.126, allocations: 4.875 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.126, allocations: 5.562 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/1.126, allocations: 5.656 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/1.126, allocations: 64.14 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.126, allocations: 1.875 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/1.126, allocations: 24.78 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/1.127, allocations: 15.17 kB / 1.099 GB, free: 15.38 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.0002197/1.127, allocations: 167.2 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/1.127, allocations: 25.16 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008065/1.128, allocations: 390.7 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.128, allocations: 3.594 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.128, allocations: 0 / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.128, allocations: 6.156 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/1.128, allocations: 340.6 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.128, allocations: 0 / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/1.128, allocations: 61.27 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.128, allocations: 2.703 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/1.128, allocations: 13.64 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.128, allocations: 1.562 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.128, allocations: 1.453 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/1.129, allocations: 333.9 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/1.129, allocations: 144 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/1.129, allocations: 14.28 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/1.129, allocations: 22.36 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/1.13, allocations: 29.41 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/1.13, allocations: 16.08 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003113/1.13, allocations: 237.6 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.13, allocations: 3.938 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004244/1.13, allocations: 75.69 kB / 1.101 GB, free: 14.31 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.001088/1.131, allocations: 397.9 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005479/1.132, allocations: 227.8 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.132, allocations: 0.7188 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/1.132, allocations: 134.6 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.0003374/1.133, allocations: 42.36 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.001309/1.134, allocations: 0.5488 MB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/1.134, allocations: 0.7648 MB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/1.135, allocations: 56.67 kB / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.135, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.01074/1.145, allocations: 4.503 MB / 1.107 GB, free: 12.43 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