Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.14 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.092/3.092, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 15.08 kB / 0.9021 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3775, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002434/0.38, allocations: 1.346 MB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3819, allocations: 1.093 MB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.804e-05/0.3821, allocations: 4 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3823, allocations: 27.91 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.3827, allocations: 51.77 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.3832, allocations: 131.9 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.3835, allocations: 209.4 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3836, allocations: 16 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3838, allocations: 71.81 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3841, allocations: 83.72 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.3842, allocations: 12 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3844, allocations: 63.95 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3845, allocations: 67.81 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.3846, allocations: 57.58 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.3849, allocations: 203.8 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3849, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3849, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3849, allocations: 4 kB / 1.061 GB, free: 1.863 MB / 0.8106 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.0009182/0.3858, allocations: 0.4953 MB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3859, allocations: 12.03 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.386, allocations: 23.72 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3864, allocations: 251.7 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3864, allocations: 12 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.3865, allocations: 15.95 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.3869, allocations: 224.7 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3869, allocations: 4 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.3869, allocations: 7.984 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3869, allocations: 4 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009032/0.3879, allocations: 0.7334 MB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.3888, allocations: 0.5897 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.3892, allocations: 215.5 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3893, allocations: 100.8 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.3894, allocations: 19.97 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.3897, allocations: 169.5 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.3898, allocations: 8 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0006701/0.3904, allocations: 351.7 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.342e-05/0.3905, allocations: 140.5 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.3909, allocations: 301 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3909, allocations: 29.7 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.391, allocations: 128.7 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.3911, allocations: 110.4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.3911, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3913, allocations: 346.8 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3914, allocations: 83.89 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3916, allocations: 119.6 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3918, allocations: 107.8 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3918, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004029/0.3922, allocations: 261.8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3922, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3923, allocations: 8 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3923, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3925, allocations: 59.91 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3925, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3927, allocations: 31.73 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.3927, allocations: 12 kB / 1.066 GB, free: 12.67 MB / 0.8262 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.3929, allocations: 165.7 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.3929, allocations: 23.72 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.3936, allocations: 384.9 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3936, allocations: 4 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3936, allocations: 3.938 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3936, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.3939, allocations: 337.2 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.394, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3941, allocations: 55.91 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3942, allocations: 4 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3942, allocations: 8 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3942, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3942, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.3947, allocations: 317.6 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3949, allocations: 144.7 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.3949, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3951, allocations: 27.97 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.3951, allocations: 19.97 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.3952, allocations: 16 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002067/0.3954, allocations: 236.4 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3954, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003052/0.3957, allocations: 55.94 kB / 1.068 GB, free: 10.79 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.3968, allocations: 410.1 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.3972, allocations: 224.3 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3972, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3974, allocations: 127.8 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3977, allocations: 37.64 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.3986, allocations: 0.5578 MB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3989, allocations: 0.7573 MB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.3993, allocations: 142.9 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.3993, allocations: 51.34 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of SimCode: time 1.964e-06/0.3993, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.006532/0.4059, allocations: 2.837 MB / 1.073 GB, free: 5.777 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches