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.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001472/0.001473, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.424/2.424, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7599, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00486/0.7648, allocations: 1.93 MB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.768, allocations: 1.56 MB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.7682, allocations: 1.312 kB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.7686, allocations: 15.23 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.7691, allocations: 70.06 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.7699, allocations: 157.6 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.7703, allocations: 275.6 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.7705, allocations: 42.33 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.7707, allocations: 96.03 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.771, allocations: 110 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.7711, allocations: 19.97 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.7714, allocations: 80.66 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.7715, allocations: 91.14 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.7717, allocations: 123.4 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.7722, allocations: 323.4 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.7723, allocations: 0 / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7723, allocations: 0 / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.7723, allocations: 0 / 0.9538 GB, free: 5.621 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.001053/0.7734, allocations: 0.559 MB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7734, allocations: 9.156 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.7737, allocations: 33.06 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.7741, allocations: 276.9 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.7741, allocations: 12.25 kB / 0.9547 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.7742, allocations: 27.89 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.7748, allocations: 232 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7748, allocations: 5.344 kB / 0.955 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.7749, allocations: 13.95 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.7749, allocations: 4.562 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.7766, allocations: 0.745 MB / 0.9557 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.7785, allocations: 0.6308 MB / 0.9563 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.7796, allocations: 308.5 kB / 0.9566 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.7799, allocations: 106.8 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.78, allocations: 21.16 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007086/0.7807, allocations: 182.1 kB / 0.9569 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 4.528e-06/0.7808, allocations: 4 kB / 0.9569 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.00128/0.7821, allocations: 380.7 kB / 0.9573 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.7821, allocations: 140.4 kB / 0.9574 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.7826, allocations: 309.7 kB / 0.9577 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.7827, allocations: 31.7 kB / 0.9577 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.7828, allocations: 131.7 kB / 0.9579 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.7829, allocations: 120.6 kB / 0.958 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.7831, allocations: 70.22 kB / 0.958 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.7832, allocations: 342 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.7835, allocations: 80.3 kB / 0.9584 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.7838, allocations: 126 kB / 0.9586 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.7844, allocations: 212 kB / 0.9588 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7844, allocations: 0 / 0.9588 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007477/0.7852, allocations: 286.9 kB / 0.959 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7852, allocations: 7.5 kB / 0.959 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7852, allocations: 7.938 kB / 0.9591 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7852, allocations: 1.969 kB / 0.9591 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.7857, allocations: 64.05 kB / 0.9591 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7857, allocations: 1.875 kB / 0.9591 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.786, allocations: 24.47 kB / 0.9591 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.786, allocations: 16.89 kB / 0.9592 GB, free: 1.805 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.0002141/0.7863, allocations: 162.1 kB / 0.9593 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.7864, allocations: 25.23 kB / 0.9593 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.7875, allocations: 397.8 kB / 0.9597 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.7875, allocations: 3 kB / 0.9597 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7875, allocations: 1.031 kB / 0.9597 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.7876, allocations: 3.984 kB / 0.9597 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.788, allocations: 344.9 kB / 0.9601 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.788, allocations: 1.531 kB / 0.9601 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.7884, allocations: 56.92 kB / 0.9601 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.7884, allocations: 6.359 kB / 0.9601 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.7884, allocations: 15.81 kB / 0.9601 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7885, allocations: 1.125 kB / 0.9601 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7885, allocations: 1.344 kB / 0.9601 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.7893, allocations: 327.3 kB / 0.9604 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.7895, allocations: 147.2 kB / 0.9606 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.7896, allocations: 10.19 kB / 0.9606 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.7899, allocations: 23.59 kB / 0.9606 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.7901, allocations: 28.41 kB / 0.9606 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.7902, allocations: 14.2 kB / 0.9607 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003597/0.7905, allocations: 233.6 kB / 0.9609 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7906, allocations: 0 / 0.9609 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005575/0.7911, allocations: 74.2 kB / 0.961 GB, free: 0.5391 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.001709/0.7929, allocations: 403.3 kB / 0.9613 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009959/0.7939, allocations: 306.9 kB / 0.9616 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7939, allocations: 5.125 kB / 0.9616 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.7942, allocations: 134.9 kB / 0.9618 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.7948, allocations: 45.38 kB / 0.9618 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.7963, allocations: 0.6135 MB / 0.9624 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.797, allocations: 0.7586 MB / 0.9631 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007032/0.7978, allocations: 147.7 kB / 0.9633 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.7979, allocations: 45.64 kB / 0.9633 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.7979, allocations: 4 kB / 0.9633 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.01403/0.812, allocations: 3.386 MB / 0.9666 GB, free: 13.23 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