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.0009816/0.000982, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006075/0.006075, allocations: 169.1 kB / 16.26 MB, free: 6.66 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.457/1.457, allocations: 223.2 MB / 240.3 MB, free: 5.344 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.542/2.542, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.000441, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8477, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002188/0.8499, allocations: 1.579 MB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.852, allocations: 1.528 MB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.8521, allocations: 0 / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.8523, allocations: 27.22 kB / 0.9581 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.8526, allocations: 71.95 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.853, allocations: 151 kB / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.8533, allocations: 259 kB / 0.9586 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.8535, allocations: 31.36 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.8536, allocations: 80.92 kB / 0.9587 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.8538, allocations: 99.62 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.8538, allocations: 10.72 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.854, allocations: 67.16 kB / 0.9588 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.8541, allocations: 80.02 kB / 0.9589 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.8542, allocations: 131.3 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.8546, allocations: 316.5 kB / 0.9593 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8546, allocations: 0 / 0.9593 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8546, allocations: 5.312 kB / 0.9594 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8546, allocations: 0 / 0.9594 GB, free: 4.477 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.000664/0.8553, allocations: 0.4921 MB / 0.9598 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.8553, allocations: 9.625 kB / 0.9598 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.8555, allocations: 41.05 kB / 0.9599 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.8558, allocations: 272.9 kB / 0.9601 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.8558, allocations: 20.62 kB / 0.9602 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.8559, allocations: 23.11 kB / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.8563, allocations: 240.9 kB / 0.9604 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8563, allocations: 0 / 0.9604 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.8563, allocations: 6.75 kB / 0.9604 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.8563, allocations: 8.125 kB / 0.9604 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.8573, allocations: 0.7454 MB / 0.9612 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.8583, allocations: 0.6497 MB / 0.9618 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.8589, allocations: 300.6 kB / 0.9621 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.8591, allocations: 111.2 kB / 0.9622 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.8592, allocations: 28.97 kB / 0.9622 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.8596, allocations: 179.3 kB / 0.9624 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.8596, allocations: 4 kB / 0.9624 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0007985/0.8604, allocations: 376.5 kB / 0.9627 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.8605, allocations: 140.2 kB / 0.9629 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.8609, allocations: 311.9 kB / 0.9632 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.8609, allocations: 33.64 kB / 0.9632 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.861, allocations: 139.3 kB / 0.9633 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.033e-05/0.8611, allocations: 118.7 kB / 0.9635 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.8612, allocations: 29.8 kB / 0.9635 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.8612, allocations: 342 kB / 0.9638 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.8614, allocations: 80.02 kB / 0.9639 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.8616, allocations: 125.9 kB / 0.964 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.8619, allocations: 211.8 kB / 0.9642 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8619, allocations: 0 / 0.9642 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004336/0.8623, allocations: 282.8 kB / 0.9645 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8624, allocations: 9.531 kB / 0.9645 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8624, allocations: 3.938 kB / 0.9645 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8624, allocations: 5.312 kB / 0.9645 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.8626, allocations: 60.36 kB / 0.9645 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8627, allocations: 5.969 kB / 0.9646 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.8628, allocations: 27.03 kB / 0.9646 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.8628, allocations: 17.77 kB / 0.9646 GB, free: 0.7031 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 (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.0001376/0.863, allocations: 160.4 kB / 0.9648 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.863, allocations: 25.59 kB / 0.9648 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.8637, allocations: 393.6 kB / 0.9652 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.8637, allocations: 4.188 kB / 0.9652 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8637, allocations: 0 / 0.9652 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8637, allocations: 3.984 kB / 0.9652 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.8641, allocations: 345.1 kB / 0.9655 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8641, allocations: 5.234 kB / 0.9655 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.8643, allocations: 54.02 kB / 0.9655 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8643, allocations: 1.5 kB / 0.9655 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.8643, allocations: 23.92 kB / 0.9656 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.8643, allocations: 6.438 kB / 0.9656 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8644, allocations: 0 / 0.9656 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.8649, allocations: 327.8 kB / 0.9659 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.865, allocations: 142.7 kB / 0.966 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.8651, allocations: 10.12 kB / 0.966 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.8653, allocations: 34.19 kB / 0.9661 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.8654, allocations: 32.38 kB / 0.9661 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.8654, allocations: 14.2 kB / 0.9661 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000243/0.8656, allocations: 237.2 kB / 0.9663 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8656, allocations: 1.094 kB / 0.9663 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003322/0.866, allocations: 73.03 kB / 0.9664 GB, free: 15.43 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 (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.001029/0.867, allocations: 399.4 kB / 0.9668 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.8675, allocations: 229.8 kB / 0.967 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8675, allocations: 1.094 kB / 0.967 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.8677, allocations: 134.6 kB / 0.9671 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.868, allocations: 36.58 kB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009371/0.869, allocations: 0.624 MB / 0.9678 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.8693, allocations: 0.7625 MB / 0.9685 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003544/0.8697, allocations: 152.4 kB / 0.9687 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.8698, allocations: 44.73 kB / 0.9687 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.8698, allocations: 0 / 0.9687 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.007505/0.8773, allocations: 3.263 MB / 0.9719 GB, free: 12.19 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