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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009123/0.0009125, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0009135/0.0009135, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003826, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.869, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002398/0.8714, allocations: 1.552 MB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.8735, allocations: 1.479 MB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.8736, allocations: 1.344 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.8739, allocations: 18.39 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.8742, allocations: 68.69 kB / 0.9575 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.8746, allocations: 148.7 kB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.8749, allocations: 248 kB / 0.9579 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.875, allocations: 21.64 kB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.8751, allocations: 83.8 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.8754, allocations: 92.41 kB / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.8754, allocations: 16.8 kB / 0.9581 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.8756, allocations: 67.27 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.8757, allocations: 78.89 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.8758, allocations: 61.86 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.8761, allocations: 228.5 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8761, allocations: 0 / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8761, allocations: 0 / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.8761, allocations: 0 / 0.9585 GB, free: 4.637 MB / 0.7169 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.0006826/0.8768, allocations: 0.5049 MB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.8769, allocations: 9.25 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.877, allocations: 40.08 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.8773, allocations: 261.7 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.8773, allocations: 13.53 kB / 0.9593 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.8774, allocations: 24.86 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.8777, allocations: 230.8 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8778, allocations: 0 / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.8778, allocations: 18.67 kB / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8778, allocations: 4.125 kB / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.8787, allocations: 0.747 MB / 0.9603 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.8797, allocations: 0.6531 MB / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.8802, allocations: 305.8 kB / 0.9612 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.8804, allocations: 109.5 kB / 0.9613 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.8804, allocations: 20.97 kB / 0.9613 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.8808, allocations: 182.3 kB / 0.9615 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.8808, allocations: 0 / 0.9615 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0006573/0.8814, allocations: 372.4 kB / 0.9619 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.8815, allocations: 137.4 kB / 0.962 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.8818, allocations: 307.3 kB / 0.9623 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.8818, allocations: 32.2 kB / 0.9623 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.8819, allocations: 139.8 kB / 0.9624 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.882, allocations: 117 kB / 0.9626 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.882, allocations: 5.156 kB / 0.9626 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.8821, allocations: 338.5 kB / 0.9629 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.8822, allocations: 79.45 kB / 0.963 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.8824, allocations: 124.2 kB / 0.9631 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8825, allocations: 102.5 kB / 0.9632 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8826, allocations: 7.953 kB / 0.9632 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003839/0.8829, allocations: 281 kB / 0.9634 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.883, allocations: 3.438 kB / 0.9635 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.883, allocations: 3.156 kB / 0.9635 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.883, allocations: 0 / 0.9635 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.8832, allocations: 64.19 kB / 0.9635 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8832, allocations: 5.438 kB / 0.9635 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.8834, allocations: 35.34 kB / 0.9636 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.8834, allocations: 17.67 kB / 0.9636 GB, free: 0.9453 MB / 0.7169 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.8835, allocations: 170 kB / 0.9637 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.8836, allocations: 29.33 kB / 0.9638 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.8842, allocations: 388 kB / 0.9641 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.8842, allocations: 4.594 kB / 0.9641 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8843, allocations: 0 / 0.9641 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.8843, allocations: 3.984 kB / 0.9641 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.8846, allocations: 345.5 kB / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8846, allocations: 3.938 kB / 0.9645 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.8848, allocations: 62.7 kB / 0.9645 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8848, allocations: 1.062 kB / 0.9645 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.8848, allocations: 12.64 kB / 0.9645 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8848, allocations: 1.375 kB / 0.9645 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8848, allocations: 0 / 0.9645 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.8852, allocations: 321.5 kB / 0.9649 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.8854, allocations: 159.3 kB / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.8855, allocations: 9.953 kB / 0.965 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.8857, allocations: 29.19 kB / 0.965 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.8857, allocations: 25.16 kB / 0.9651 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.8858, allocations: 13.95 kB / 0.9651 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002431/0.886, allocations: 235.9 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.886, allocations: 4.906 kB / 0.9653 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003182/0.8864, allocations: 69.97 kB / 0.9654 GB, free: 15.67 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.8874, allocations: 400.6 kB / 0.9658 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.8878, allocations: 236.3 kB / 0.966 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8879, allocations: 0.7188 kB / 0.966 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.8881, allocations: 130.6 kB / 0.9661 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.8884, allocations: 39.92 kB / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.8894, allocations: 0.6043 MB / 0.9667 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.8899, allocations: 0.759 MB / 0.9675 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003617/0.8902, allocations: 147.8 kB / 0.9676 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.8903, allocations: 40.64 kB / 0.9677 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.8903, allocations: 0.7188 kB / 0.9677 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.007474/0.8978, allocations: 3.166 MB / 0.9708 GB, free: 12.5 MB / 0.7325 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