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.0008644/0.0008644, allocations: 99.11 kB / 16.02 MB, free: 76 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.00135/0.00135, allocations: 187 kB / 16.92 MB, free: 6.75 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.359 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.39/2.39, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8222, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002146/0.8244, allocations: 1.584 MB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.8265, allocations: 1.527 MB / 0.9587 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.8266, allocations: 4.938 kB / 0.9588 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.8268, allocations: 22.59 kB / 0.9588 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.8271, allocations: 72.05 kB / 0.9588 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.8275, allocations: 152.2 kB / 0.959 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.8278, allocations: 257.1 kB / 0.9592 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.8279, allocations: 31.81 kB / 0.9593 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.828, allocations: 84.64 kB / 0.9593 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.8282, allocations: 96.16 kB / 0.9594 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.8283, allocations: 9.125 kB / 0.9594 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.8284, allocations: 68.05 kB / 0.9595 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.8285, allocations: 83.34 kB / 0.9596 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.8286, allocations: 132.7 kB / 0.9597 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.8289, allocations: 231.1 kB / 0.9599 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8289, allocations: 0 / 0.9599 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8289, allocations: 0 / 0.9599 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.8289, allocations: 3.938 kB / 0.9599 GB, free: 4.527 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.0005953/0.8295, allocations: 0.4999 MB / 0.9604 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8296, allocations: 17.61 kB / 0.9604 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.8297, allocations: 33.06 kB / 0.9605 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.83, allocations: 278.3 kB / 0.9607 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.83, allocations: 11.25 kB / 0.9608 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.8301, allocations: 24.5 kB / 0.9608 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.8304, allocations: 236.5 kB / 0.961 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8304, allocations: 0 / 0.961 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.8305, allocations: 18.31 kB / 0.961 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8305, allocations: 7.922 kB / 0.961 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.8314, allocations: 0.7491 MB / 0.9618 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.8324, allocations: 0.6414 MB / 0.9624 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.833, allocations: 304.3 kB / 0.9627 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.8332, allocations: 111.7 kB / 0.9628 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.8333, allocations: 24.56 kB / 0.9628 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.8336, allocations: 179.1 kB / 0.963 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.8336, allocations: 0 / 0.963 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0006774/0.8343, allocations: 380.3 kB / 0.9633 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.8344, allocations: 136 kB / 0.9635 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.8347, allocations: 310.2 kB / 0.9638 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.8347, allocations: 32.2 kB / 0.9638 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.8348, allocations: 138.4 kB / 0.9639 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.8349, allocations: 117.8 kB / 0.964 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.835, allocations: 30.42 kB / 0.9641 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.835, allocations: 338.7 kB / 0.9644 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.8352, allocations: 84.2 kB / 0.9645 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.8354, allocations: 134.1 kB / 0.9646 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.8359, allocations: 207.7 kB / 0.9648 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.836, allocations: 4 kB / 0.9648 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000623/0.8366, allocations: 281.9 kB / 0.9651 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8366, allocations: 5.062 kB / 0.9651 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8366, allocations: 7.922 kB / 0.9651 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.8366, allocations: 3.531 kB / 0.9651 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.837, allocations: 61.12 kB / 0.9651 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.837, allocations: 2.656 kB / 0.9651 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.8372, allocations: 29.61 kB / 0.9652 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.8373, allocations: 9 kB / 0.9652 GB, free: 0.7578 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.0002004/0.8375, allocations: 165.9 kB / 0.9653 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.8376, allocations: 25.06 kB / 0.9654 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/0.8384, allocations: 394.2 kB / 0.9657 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.8384, allocations: 4.219 kB / 0.9657 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8384, allocations: 3.984 kB / 0.9657 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8384, allocations: 0 / 0.9657 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.8387, allocations: 349.7 kB / 0.9661 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8387, allocations: 0 / 0.9661 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.8389, allocations: 62.62 kB / 0.9661 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.839, allocations: 4.906 kB / 0.9661 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.839, allocations: 12 kB / 0.9662 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.839, allocations: 1.875 kB / 0.9662 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.839, allocations: 3.938 kB / 0.9662 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.8396, allocations: 324.3 kB / 0.9665 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.8397, allocations: 147.2 kB / 0.9666 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.8398, allocations: 18.08 kB / 0.9666 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.84, allocations: 26.94 kB / 0.9667 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.8401, allocations: 27.98 kB / 0.9667 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.8401, allocations: 14.31 kB / 0.9667 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002533/0.8404, allocations: 237.5 kB / 0.9669 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8404, allocations: 1.031 kB / 0.9669 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003436/0.8407, allocations: 73.41 kB / 0.967 GB, free: 15.48 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.001171/0.8419, allocations: 407.1 kB / 0.9674 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.8424, allocations: 226.5 kB / 0.9676 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8424, allocations: 0 / 0.9676 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.8426, allocations: 134.6 kB / 0.9677 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.843, allocations: 47.61 kB / 0.9678 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.8441, allocations: 0.6637 MB / 0.9684 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.8445, allocations: 0.7586 MB / 0.9692 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.8447, allocations: 49.81 kB / 0.9692 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.8447, allocations: 0 / 0.9692 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.008435/0.8531, allocations: 4.447 MB / 0.9735 GB, free: 11.61 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