Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 156.9 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.83/2.83, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 68.17 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9202/0.9223, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003092/0.9254, allocations: 1.882 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.9278, allocations: 1.785 MB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.9279, allocations: 2.594 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.9282, allocations: 33.06 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.9286, allocations: 118.7 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.929, allocations: 186.3 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.9292, allocations: 294.9 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.9293, allocations: 21.23 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.9294, allocations: 98.33 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.9296, allocations: 97.41 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.9297, allocations: 23.19 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.9299, allocations: 125.3 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.9299, allocations: 94.52 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.93, allocations: 107.7 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.9304, allocations: 380.4 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9304, allocations: 0 / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9304, allocations: 0 / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9304, allocations: 3.938 kB / 1.159 GB, free: 30.14 MB / 1.076 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.0006743/0.9311, allocations: 0.5138 MB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.9311, allocations: 8.781 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.9313, allocations: 39.92 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.9315, allocations: 222.6 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.9316, allocations: 10.34 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.9316, allocations: 24.22 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.9319, allocations: 373.7 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.932, allocations: 0 / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.932, allocations: 10.88 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.932, allocations: 6 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.9327, allocations: 0.6929 MB / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.9335, allocations: 0.5377 MB / 1.161 GB, free: 28.78 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.9339, allocations: 284.7 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.934, allocations: 103.1 kB / 1.162 GB, free: 28.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.544e-05/0.9341, allocations: 20.33 kB / 1.162 GB, free: 28.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.9344, allocations: 235.7 kB / 1.162 GB, free: 28.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.9344, allocations: 0 / 1.162 GB, free: 28.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.0005985/0.935, allocations: 379.8 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.9351, allocations: 134.4 kB / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.9353, allocations: 319.8 kB / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.9353, allocations: 33.52 kB / 1.163 GB, free: 27.99 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.9354, allocations: 142.4 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.9355, allocations: 119.2 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.9356, allocations: 71.77 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.9356, allocations: 341.5 kB / 1.163 GB, free: 27.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.9357, allocations: 87.55 kB / 1.164 GB, free: 27.37 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.9359, allocations: 207 kB / 1.164 GB, free: 27.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.9362, allocations: 211.2 kB / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9362, allocations: 0 / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003766/0.9365, allocations: 285 kB / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.9366, allocations: 9.094 kB / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.9366, allocations: 0 / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.9366, allocations: 6.344 kB / 1.164 GB, free: 27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.9368, allocations: 62.31 kB / 1.164 GB, free: 27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9368, allocations: 2.75 kB / 1.164 GB, free: 27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.9369, allocations: 31.11 kB / 1.164 GB, free: 26.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.937, allocations: 15.28 kB / 1.164 GB, free: 26.97 MB / 1.076 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.0001178/0.9371, allocations: 166.3 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.9371, allocations: 29.53 kB / 1.165 GB, free: 26.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.9377, allocations: 391 kB / 1.165 GB, free: 26.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9377, allocations: 12.66 kB / 1.165 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.9377, allocations: 0 / 1.165 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9377, allocations: 0 / 1.165 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.938, allocations: 250.6 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.938, allocations: 0 / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.9381, allocations: 56.59 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9381, allocations: 4 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.9381, allocations: 12.48 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9381, allocations: 2.625 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9381, allocations: 3.938 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.9385, allocations: 331.5 kB / 1.166 GB, free: 26.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.9386, allocations: 66.48 kB / 1.166 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.9387, allocations: 6.625 kB / 1.166 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.9389, allocations: 23.88 kB / 1.166 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.9389, allocations: 35.45 kB / 1.166 GB, free: 26.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.939, allocations: 11.25 kB / 1.166 GB, free: 26.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001629/0.9391, allocations: 250.5 kB / 1.166 GB, free: 26.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9391, allocations: 0 / 1.166 GB, free: 26.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003189/0.9394, allocations: 88.05 kB / 1.166 GB, free: 26.08 MB / 1.076 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.001621/0.9411, allocations: 488.8 kB / 1.166 GB, free: 25.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.9414, allocations: 221 kB / 1.167 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9414, allocations: 0 / 1.167 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.9416, allocations: 130.4 kB / 1.167 GB, free: 25.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.9419, allocations: 44.27 kB / 1.167 GB, free: 25.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.9426, allocations: 0.5467 MB / 1.167 GB, free: 25.44 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.9427, allocations: 156.7 kB / 1.168 GB, free: 25.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.943, allocations: 154.9 kB / 1.168 GB, free: 25.31 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.943, allocations: 42.23 kB / 1.168 GB, free: 25.3 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.943, allocations: 0 / 1.168 GB, free: 25.3 MB / 1.076 GB Notification: Performance of Templates: time 0.007942/0.951, allocations: 3.827 MB / 1.171 GB, free: 24.77 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.105403615045361]