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.001527/0.001542, allocations: 102 kB / 16.35 MB, free: 5.828 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.001543/0.001543, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 4.168 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.56/2.56, allocations: 390.3 MB / 0.6655 GB, free: 92 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.814 GB, free: 13.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8603, allocations: 140.4 MB / 0.9511 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00304/0.8634, allocations: 1.876 MB / 0.953 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.8654, allocations: 1.574 MB / 0.9545 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.8655, allocations: 5.344 kB / 0.9545 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.8657, allocations: 31.67 kB / 0.9545 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.866, allocations: 77.44 kB / 0.9546 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.8664, allocations: 171.7 kB / 0.9548 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.8667, allocations: 282.8 kB / 0.955 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.8669, allocations: 35.66 kB / 0.9551 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.867, allocations: 100.7 kB / 0.9552 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.8672, allocations: 101.6 kB / 0.9553 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.8672, allocations: 19.19 kB / 0.9553 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.8674, allocations: 85.03 kB / 0.9554 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.8675, allocations: 90.92 kB / 0.9554 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.8676, allocations: 119.9 kB / 0.9556 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.868, allocations: 337.7 kB / 0.9559 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.868, allocations: 0 / 0.9559 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.868, allocations: 0 / 0.9559 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.868, allocations: 4 kB / 0.9559 GB, free: 5.758 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.000599/0.8686, allocations: 0.5568 MB / 0.9564 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.8687, allocations: 8.938 kB / 0.9564 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.8688, allocations: 33 kB / 0.9565 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.869, allocations: 277.8 kB / 0.9567 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8691, allocations: 12.12 kB / 0.9567 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.8691, allocations: 23.72 kB / 0.9568 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.8695, allocations: 242.9 kB / 0.957 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.8695, allocations: 0 / 0.957 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.8695, allocations: 8 kB / 0.957 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8695, allocations: 4.125 kB / 0.957 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/0.8704, allocations: 0.7451 MB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.8713, allocations: 0.63 MB / 0.9584 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.8718, allocations: 308.2 kB / 0.9586 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.872, allocations: 111 kB / 0.9588 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.8721, allocations: 25.22 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.8724, allocations: 178.8 kB / 0.9589 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.325e-06/0.8724, allocations: 5.094 kB / 0.959 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.000668/0.8731, allocations: 375.2 kB / 0.9593 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.8731, allocations: 141.6 kB / 0.9594 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.8734, allocations: 308.8 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.8735, allocations: 36.44 kB / 0.9598 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.8735, allocations: 130.9 kB / 0.9599 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.8736, allocations: 121.6 kB / 0.96 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.8737, allocations: 65.78 kB / 0.9601 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.8738, allocations: 342.7 kB / 0.9604 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.8739, allocations: 80.58 kB / 0.9605 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.8741, allocations: 124.9 kB / 0.9606 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.8744, allocations: 212 kB / 0.9608 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8744, allocations: 0 / 0.9608 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000445/0.8749, allocations: 282.6 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8749, allocations: 7.688 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8749, allocations: 3.938 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.875, allocations: 5.062 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.8752, allocations: 64.59 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.8752, allocations: 6.531 kB / 0.9612 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.8753, allocations: 27.33 kB / 0.9612 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.8754, allocations: 21.36 kB / 0.9612 GB, free: 1.941 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.0001403/0.8755, allocations: 157.6 kB / 0.9614 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.8756, allocations: 29.06 kB / 0.9614 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.8763, allocations: 386.5 kB / 0.9618 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8763, allocations: 3.672 kB / 0.9618 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8763, allocations: 3.984 kB / 0.9618 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.8763, allocations: 7.984 kB / 0.9618 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.8766, allocations: 341 kB / 0.9621 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8766, allocations: 3.531 kB / 0.9621 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.8768, allocations: 55.34 kB / 0.9621 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8768, allocations: 1.375 kB / 0.9621 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.8768, allocations: 20.2 kB / 0.9622 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.8768, allocations: 1.562 kB / 0.9622 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8768, allocations: 1.062 kB / 0.9622 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.8773, allocations: 335.9 kB / 0.9625 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.8775, allocations: 138.6 kB / 0.9626 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.8775, allocations: 13.94 kB / 0.9626 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.8777, allocations: 23.28 kB / 0.9627 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.8778, allocations: 20.56 kB / 0.9627 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.8778, allocations: 14.28 kB / 0.9627 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002106/0.878, allocations: 238.2 kB / 0.9629 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.878, allocations: 0 / 0.9629 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003183/0.8783, allocations: 77.14 kB / 0.963 GB, free: 0.6797 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.0009764/0.8793, allocations: 411.9 kB / 0.9634 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.8798, allocations: 227.9 kB / 0.9636 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8798, allocations: 5 kB / 0.9636 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.88, allocations: 130.3 kB / 0.9637 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.8803, allocations: 42.44 kB / 0.9638 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.8812, allocations: 0.5156 MB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.8817, allocations: 0.7623 MB / 0.965 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003483/0.8821, allocations: 148.2 kB / 0.9652 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.8822, allocations: 45.59 kB / 0.9652 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8822, allocations: 4 kB / 0.9652 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.007922/0.8901, allocations: 3.392 MB / 0.9685 GB, free: 13.48 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 -s cvode -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