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.002169/0.002169, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002398/0.002398, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.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 3.326/3.326, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 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.002125/0.002125, allocations: 65.59 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4081, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003795/0.4119, allocations: 1.876 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.4149, allocations: 1.781 MB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.415, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.4153, allocations: 27.77 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.4158, allocations: 127.4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.4162, allocations: 166.3 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.4166, allocations: 297.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4167, allocations: 25.22 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4169, allocations: 107.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.4171, allocations: 99.69 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.4171, allocations: 20 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.4174, allocations: 120 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.4175, allocations: 107.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4176, allocations: 99.45 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.4181, allocations: 374.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4181, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4181, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4181, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 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.0009056/0.4191, allocations: 0.5208 MB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4191, allocations: 8.031 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.4193, allocations: 32.75 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.4196, allocations: 229 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4196, allocations: 20.36 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.4197, allocations: 24.12 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.4202, allocations: 366.1 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4202, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.4202, allocations: 12 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4202, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.4212, allocations: 0.6943 MB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4222, allocations: 0.5314 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.4227, allocations: 295.1 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4229, allocations: 101.4 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.423, allocations: 16.27 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.4234, allocations: 230.8 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.4234, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007421/0.4241, allocations: 382 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.4242, allocations: 136.5 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.4246, allocations: 321.1 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4246, allocations: 33.7 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4247, allocations: 136.7 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4248, allocations: 127 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.4249, allocations: 69.55 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4251, allocations: 338.8 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4252, allocations: 79.95 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.4255, allocations: 208.6 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.4258, allocations: 213.2 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4258, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004684/0.4263, allocations: 293.1 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4263, allocations: 4 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4263, allocations: 0 / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.4263, allocations: 11.94 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.4266, allocations: 59.91 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4266, allocations: 0 / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.4267, allocations: 33.98 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.4268, allocations: 12 kB / 1.336 GB, free: 6.855 MB / 1.029 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.0001833/0.4269, allocations: 169.7 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.427, allocations: 27.81 kB / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/0.4277, allocations: 388.8 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4278, allocations: 7.938 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4278, allocations: 0 / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4278, allocations: 0 / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.4281, allocations: 256.9 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4281, allocations: 4 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4283, allocations: 51.98 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4283, allocations: 3.984 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.4283, allocations: 12 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4283, allocations: 0 / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4283, allocations: 7.875 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.4288, allocations: 334.5 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.4289, allocations: 67.73 kB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.429, allocations: 7.938 kB / 1.337 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4292, allocations: 27.97 kB / 1.337 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4292, allocations: 31.89 kB / 1.337 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.4293, allocations: 11.98 kB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002446/0.4295, allocations: 248.4 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4295, allocations: 0 / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003352/0.4299, allocations: 79.83 kB / 1.338 GB, free: 5.094 MB / 1.029 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.001755/0.4316, allocations: 0.493 MB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.4321, allocations: 215.7 kB / 1.338 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4321, allocations: 0 / 1.338 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.4323, allocations: 128.6 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.4327, allocations: 42.42 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.4336, allocations: 0.533 MB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.4338, allocations: 162.8 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003477/0.4342, allocations: 154.8 kB / 1.339 GB, free: 3.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.4342, allocations: 47.41 kB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4342, allocations: 0 / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of Templates: time 0.009063/0.4433, allocations: 4.016 MB / 1.343 GB, free: 15.5 MB / 1.045 GB " [Timeout remaining time 300] 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 -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/jenkins/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.588949969038367]