Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001407/0.001407, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001534/0.001534, allocations: 219.3 kB / 23 MB, free: 4.914 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.192/3.192, allocations: 0.4892 GB / 0.7951 GB, free: 35.71 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.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [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.002093/0.002093, allocations: 65.81 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4089, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003264/0.4122, allocations: 1.684 MB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.4144, allocations: 1.367 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.326e-05/0.4145, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.4148, allocations: 31.78 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.4152, allocations: 115.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.4156, allocations: 142.9 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.4159, allocations: 261.4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.416, allocations: 17.53 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4161, allocations: 83.81 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.4163, allocations: 97.02 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.4164, allocations: 24 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.4166, allocations: 115.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.4167, allocations: 87.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.4168, allocations: 95.45 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.4173, allocations: 334.7 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4173, allocations: 3.938 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4173, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4173, allocations: 0 / 1.331 GB, free: 13.43 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008777/0.4182, allocations: 497.6 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.4182, allocations: 12.03 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.4183, allocations: 32.75 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.4187, allocations: 217.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.4187, allocations: 12.38 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.4187, allocations: 20.31 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.4192, allocations: 324 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4192, allocations: 3.938 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.4192, allocations: 12 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4192, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.4202, allocations: 0.6865 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.4211, allocations: 495.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.4215, allocations: 220.4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.4217, allocations: 88.81 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.4218, allocations: 19.98 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.4222, allocations: 199.2 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.4222, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007473/0.423, allocations: 374.6 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.4231, allocations: 132.5 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.4234, allocations: 316.9 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.4235, allocations: 33.7 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4236, allocations: 132.7 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.4237, allocations: 115 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4238, allocations: 65.69 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4239, allocations: 338.8 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4241, allocations: 79.95 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.4244, allocations: 200.5 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.4247, allocations: 210.3 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4247, allocations: 0 / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004827/0.4252, allocations: 273.3 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4252, allocations: 4 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4252, allocations: 4 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4252, allocations: 8 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.4255, allocations: 55.91 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4255, allocations: 4 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4256, allocations: 31.77 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.4256, allocations: 15.94 kB / 1.336 GB, free: 8.02 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 (34): * Single equations (assignments): 34 * 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.0002077/0.4259, allocations: 165.7 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.4259, allocations: 23.86 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.4266, allocations: 384.9 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4266, allocations: 0 / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4266, allocations: 7.938 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4267, allocations: 0 / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.4269, allocations: 241 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.427, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4271, allocations: 55.91 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.4271, allocations: 0 / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.4272, allocations: 8 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4272, allocations: 7.984 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4272, allocations: 0 / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.4277, allocations: 321.7 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4279, allocations: 67.73 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.4279, allocations: 4 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.4281, allocations: 19.98 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.4282, allocations: 27.95 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.4282, allocations: 15.98 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000252/0.4284, allocations: 248.4 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4284, allocations: 0 / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003402/0.4288, allocations: 79.86 kB / 1.337 GB, free: 6.316 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 (33): * Single equations (assignments): 32 * 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.001747/0.4305, allocations: 495.1 kB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.431, allocations: 212.3 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.431, allocations: 0 / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.4312, allocations: 120.4 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4314, allocations: 39.7 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.4324, allocations: 0.5447 MB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.4325, allocations: 146.9 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4326, allocations: 55.41 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4326, allocations: 0 / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of Templates: time 0.007989/0.4406, allocations: 4.654 MB / 1.343 GB, free: 212 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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: 12.012452702969313]