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.002/0.002, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001635/0.001635, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.885/2.885, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.113e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004088/0.004119, allocations: 1.689 MB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.00735, allocations: 1.378 MB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.007501, allocations: 0 / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.007867, allocations: 27.78 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.008445, allocations: 121 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.008912, allocations: 143.5 kB / 0.8141 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.009359, allocations: 266.8 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.009487, allocations: 17.58 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.009757, allocations: 123.8 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.01001, allocations: 85.7 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.01006, allocations: 21.59 kB / 0.8146 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.01036, allocations: 119.8 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.0105, allocations: 95.72 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.01063, allocations: 75.75 kB / 0.8149 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.0113, allocations: 365.2 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01131, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01131, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.01132, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001076/0.01239, allocations: 0.494 MB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.01244, allocations: 8.031 kB / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.01258, allocations: 45.47 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.01295, allocations: 217.3 kB / 0.816 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.01299, allocations: 16.64 kB / 0.816 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.01303, allocations: 22.03 kB / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.01354, allocations: 323.2 kB / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.01356, allocations: 192 / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.01359, allocations: 12.12 kB / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.0136, allocations: 4.656 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.01461, allocations: 0.6907 MB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.01578, allocations: 0.4898 MB / 0.8175 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.01625, allocations: 217.6 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.01643, allocations: 90.53 kB / 0.8178 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.904e-05/0.01649, allocations: 20.27 kB / 0.8178 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/0.01694, allocations: 205.6 kB / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.01695, allocations: 0 / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.000943/0.01789, allocations: 385.2 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.01801, allocations: 134.3 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.01844, allocations: 317.7 kB / 0.8188 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.01848, allocations: 37.64 kB / 0.8188 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01861, allocations: 132.7 kB / 0.8189 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.01874, allocations: 119 kB / 0.819 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.01886, allocations: 66.25 kB / 0.8191 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.01907, allocations: 339.5 kB / 0.8194 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.01924, allocations: 87.95 kB / 0.8195 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.01952, allocations: 202 kB / 0.8197 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.01991, allocations: 215.1 kB / 0.8199 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01992, allocations: 0 / 0.8199 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005814/0.0205, allocations: 299 kB / 0.8202 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.02052, allocations: 4 kB / 0.8202 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.02052, allocations: 4 kB / 0.8202 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.02055, allocations: 4.031 kB / 0.8202 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.02079, allocations: 56.78 kB / 0.8203 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.0208, allocations: 3.938 kB / 0.8203 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.021, allocations: 42.08 kB / 0.8203 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.02102, allocations: 8 kB / 0.8203 GB, free: 8.113 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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.0002031/0.02123, allocations: 161.8 kB / 0.8205 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.02132, allocations: 47.73 kB / 0.8205 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007792/0.0221, allocations: 373.1 kB / 0.8209 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.02211, allocations: 9.891 kB / 0.8209 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.02211, allocations: 0 / 0.8209 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02212, allocations: 4 kB / 0.8209 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.02245, allocations: 245 kB / 0.8211 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02245, allocations: 0 / 0.8211 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.02264, allocations: 57.06 kB / 0.8212 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02265, allocations: 0 / 0.8212 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.02267, allocations: 8 kB / 0.8212 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.02267, allocations: 7.562 kB / 0.8212 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02267, allocations: 0 / 0.8212 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.02328, allocations: 342.2 kB / 0.8215 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.02342, allocations: 67.69 kB / 0.8216 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.02347, allocations: 11.94 kB / 0.8216 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.02363, allocations: 15.98 kB / 0.8216 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.02371, allocations: 23.95 kB / 0.8216 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.02374, allocations: 15.98 kB / 0.8216 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002906/0.02403, allocations: 245.2 kB / 0.8219 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02403, allocations: 2.094 kB / 0.8219 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003713/0.0244, allocations: 79.86 kB / 0.822 GB, free: 6.387 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002086/0.02649, allocations: 488.1 kB / 0.8224 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.02698, allocations: 227.6 kB / 0.8226 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.02698, allocations: 1.938 kB / 0.8226 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.0272, allocations: 115.9 kB / 0.8228 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.02751, allocations: 50.78 kB / 0.8228 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02852, allocations: 0.5212 MB / 0.8233 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.02869, allocations: 146.9 kB / 0.8235 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003811/0.02907, allocations: 154.8 kB / 0.8236 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.02918, allocations: 44.48 kB / 0.8236 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.02918, allocations: 0 / 0.8236 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of Templates: time 0.009139/0.03832, allocations: 3.521 MB / 0.8271 GB, free: 1.328 MB / 0.7761 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/jenkins/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: 7.967190062976442]