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.001639/0.001639, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 193.8 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.367 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.312/2.312, allocations: 390.2 MB / 0.6646 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6851, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002946/0.688, allocations: 1.864 MB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.6899, allocations: 1.573 MB / 0.9529 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.69, allocations: 1.438 kB / 0.9529 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.6903, allocations: 32.11 kB / 0.953 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.6906, allocations: 78.44 kB / 0.9531 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.691, allocations: 167.4 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.6913, allocations: 283.8 kB / 0.9535 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.6915, allocations: 29.11 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.6916, allocations: 101.5 kB / 0.9536 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.6918, allocations: 108.7 kB / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.6919, allocations: 20 kB / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.692, allocations: 81.12 kB / 0.9538 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.6921, allocations: 94.77 kB / 0.9539 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.6923, allocations: 119.7 kB / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.6926, allocations: 314.4 kB / 0.9543 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.6926, allocations: 5.438 kB / 0.9543 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6926, allocations: 0 / 0.9543 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6926, allocations: 0 / 0.9543 GB, free: 5.648 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.0007059/0.6933, allocations: 0.5614 MB / 0.9549 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6934, allocations: 10.5 kB / 0.9549 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.6936, allocations: 32.44 kB / 0.9549 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.6938, allocations: 278.2 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6939, allocations: 11.31 kB / 0.9552 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.6939, allocations: 24.22 kB / 0.9552 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.6942, allocations: 243.9 kB / 0.9554 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6942, allocations: 4 kB / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.6943, allocations: 13.81 kB / 0.9555 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6943, allocations: 1.688 kB / 0.9555 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.6951, allocations: 0.7446 MB / 0.9562 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.696, allocations: 0.6352 MB / 0.9568 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.6964, allocations: 311.9 kB / 0.9571 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.6966, allocations: 107.1 kB / 0.9572 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.6967, allocations: 21.88 kB / 0.9572 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.697, allocations: 182.3 kB / 0.9574 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.697, allocations: 0 / 0.9574 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0006584/0.6977, allocations: 380.6 kB / 0.9578 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6977, allocations: 140.2 kB / 0.9579 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.698, allocations: 310 kB / 0.9582 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.698, allocations: 31.58 kB / 0.9582 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.6981, allocations: 135.1 kB / 0.9584 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.6981, allocations: 121.3 kB / 0.9585 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.6982, allocations: 66.19 kB / 0.9585 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.6983, allocations: 342.3 kB / 0.9589 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.6984, allocations: 80.08 kB / 0.9589 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.6986, allocations: 126.2 kB / 0.9591 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.6989, allocations: 211.2 kB / 0.9593 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6989, allocations: 1.062 kB / 0.9593 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003966/0.6993, allocations: 282.8 kB / 0.9595 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.6993, allocations: 5.062 kB / 0.9595 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6994, allocations: 7.938 kB / 0.9595 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6994, allocations: 1.188 kB / 0.9595 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.6996, allocations: 65.47 kB / 0.9596 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6996, allocations: 1.188 kB / 0.9596 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.6998, allocations: 31.45 kB / 0.9596 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.6998, allocations: 17.08 kB / 0.9596 GB, free: 1.816 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.0001242/0.6999, allocations: 162.5 kB / 0.9598 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.7, allocations: 25.22 kB / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.7006, allocations: 388.9 kB / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.7006, allocations: 4.656 kB / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7006, allocations: 0 / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7006, allocations: 7.984 kB / 0.9602 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.7009, allocations: 341.2 kB / 0.9605 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7009, allocations: 1.219 kB / 0.9605 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.701, allocations: 57.16 kB / 0.9606 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.701, allocations: 1.344 kB / 0.9606 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.7011, allocations: 24.86 kB / 0.9606 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7011, allocations: 1.281 kB / 0.9606 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7011, allocations: 1.25 kB / 0.9606 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.7015, allocations: 323.4 kB / 0.9609 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.7016, allocations: 143.2 kB / 0.9611 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.7017, allocations: 13.44 kB / 0.9611 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.7018, allocations: 29.91 kB / 0.9611 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.7019, allocations: 32.39 kB / 0.9611 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.7019, allocations: 10.56 kB / 0.9611 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001715/0.7021, allocations: 238.3 kB / 0.9614 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7021, allocations: 0 / 0.9614 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002997/0.7024, allocations: 72.61 kB / 0.9614 GB, free: 0.5508 MB / 0.7169 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.00087/0.7033, allocations: 407.5 kB / 0.9618 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.7038, allocations: 302.7 kB / 0.9621 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7038, allocations: 4.938 kB / 0.9621 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.704, allocations: 134.9 kB / 0.9623 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7043, allocations: 41.58 kB / 0.9623 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.7052, allocations: 0.5283 MB / 0.9628 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.7055, allocations: 0.7624 MB / 0.9636 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000348/0.7059, allocations: 148.1 kB / 0.9637 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/0.7059, allocations: 41.11 kB / 0.9637 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of SimCode: time 1.733e-06/0.706, allocations: 4 kB / 0.9637 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.007519/0.7135, allocations: 3.394 MB / 0.9671 GB, free: 13.34 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