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.007718/0.007718, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001916/0.001916, allocations: 202 kB / 16.79 MB, free: 6.215 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.531 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.364/2.364, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5912, allocations: 140.3 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003193/0.5945, allocations: 1.935 MB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.5964, allocations: 1.544 MB / 0.953 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.5965, allocations: 5.438 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.5967, allocations: 21.53 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.597, allocations: 61 kB / 0.9531 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.5974, allocations: 161.4 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.5977, allocations: 265.4 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.5978, allocations: 29.48 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.5979, allocations: 79.5 kB / 0.9536 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.5981, allocations: 106.2 kB / 0.9537 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.5982, allocations: 10.25 kB / 0.9537 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.5983, allocations: 70.91 kB / 0.9537 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5985, allocations: 90.73 kB / 0.9538 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.5986, allocations: 112.1 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.5988, allocations: 233.6 kB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5989, allocations: 1.219 kB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5989, allocations: 0 / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5989, allocations: 0 / 0.9542 GB, free: 5.668 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.0007244/0.5996, allocations: 0.5538 MB / 0.9547 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5996, allocations: 10.47 kB / 0.9547 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.5998, allocations: 35.89 kB / 0.9548 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.6001, allocations: 282.3 kB / 0.955 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6001, allocations: 11.62 kB / 0.955 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.6001, allocations: 28.16 kB / 0.9551 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.6005, allocations: 236.2 kB / 0.9553 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6005, allocations: 0 / 0.9553 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.6006, allocations: 10.56 kB / 0.9553 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.6006, allocations: 4.031 kB / 0.9553 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.6014, allocations: 0.7543 MB / 0.956 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009366/0.6024, allocations: 0.6335 MB / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.6029, allocations: 312.7 kB / 0.957 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.603, allocations: 110.3 kB / 0.9571 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.6031, allocations: 21.88 kB / 0.9571 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.6034, allocations: 178.8 kB / 0.9572 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.6034, allocations: 0 / 0.9572 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0006371/0.6041, allocations: 383.3 kB / 0.9576 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.6041, allocations: 140.5 kB / 0.9577 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.6044, allocations: 306.3 kB / 0.958 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.6044, allocations: 35.42 kB / 0.9581 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.6045, allocations: 135.6 kB / 0.9582 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.6046, allocations: 116.8 kB / 0.9583 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.6047, allocations: 65.81 kB / 0.9584 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.6047, allocations: 338.8 kB / 0.9587 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.6049, allocations: 80.05 kB / 0.9588 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.6051, allocations: 134.5 kB / 0.9589 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.6054, allocations: 208.2 kB / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6054, allocations: 0 / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004365/0.6058, allocations: 286 kB / 0.9594 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6059, allocations: 7.219 kB / 0.9594 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.6059, allocations: 3.938 kB / 0.9594 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6059, allocations: 1.156 kB / 0.9594 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.6062, allocations: 64.97 kB / 0.9594 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6062, allocations: 5.062 kB / 0.9595 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.6064, allocations: 32.55 kB / 0.9595 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.6064, allocations: 12.66 kB / 0.9595 GB, free: 1.836 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.0001542/0.6065, allocations: 162.5 kB / 0.9597 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.6066, allocations: 28.83 kB / 0.9597 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.6073, allocations: 390.2 kB / 0.9601 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.6073, allocations: 3.531 kB / 0.9601 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6073, allocations: 4 kB / 0.9601 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.6073, allocations: 1.031 kB / 0.9601 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.6076, allocations: 344.8 kB / 0.9604 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.6076, allocations: 0 / 0.9604 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.6078, allocations: 57.84 kB / 0.9604 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6078, allocations: 6.531 kB / 0.9605 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.6078, allocations: 12 kB / 0.9605 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6078, allocations: 1.094 kB / 0.9605 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6078, allocations: 1.094 kB / 0.9605 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.6084, allocations: 335.8 kB / 0.9608 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.6085, allocations: 138.1 kB / 0.9609 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.6086, allocations: 14.31 kB / 0.9609 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.6088, allocations: 24.38 kB / 0.961 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.6089, allocations: 19.97 kB / 0.961 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.6089, allocations: 20.7 kB / 0.961 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001772/0.6091, allocations: 239.2 kB / 0.9612 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6091, allocations: 0 / 0.9612 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003439/0.6094, allocations: 69.59 kB / 0.9613 GB, free: 0.5742 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.0009497/0.6104, allocations: 405.9 kB / 0.9617 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.6108, allocations: 225.8 kB / 0.9619 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6108, allocations: 1.156 kB / 0.9619 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.611, allocations: 142.5 kB / 0.962 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6114, allocations: 45 kB / 0.9621 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.6124, allocations: 0.6446 MB / 0.9627 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6127, allocations: 0.7624 MB / 0.9634 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.6128, allocations: 49.92 kB / 0.9635 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6128, allocations: 0 / 0.9635 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.007703/0.6206, allocations: 4.47 MB / 0.9679 GB, free: 12.69 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/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