Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006946/0.006947, allocations: 100 kB / 15.73 MB, free: 6.035 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.001521/0.001522, allocations: 196.4 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2783, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002931/0.2813, allocations: 1.649 MB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.283, allocations: 1.179 MB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.2831, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.2833, allocations: 27.78 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.2836, allocations: 67.62 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.284, allocations: 143 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.2843, allocations: 249.5 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.2844, allocations: 26.8 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2846, allocations: 83.77 kB / 1.17 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2848, allocations: 95.77 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.2848, allocations: 16 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.285, allocations: 79.95 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.2851, allocations: 79.75 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.2852, allocations: 111.4 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.2856, allocations: 291 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2856, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2856, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.2856, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 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.0007423/0.2864, allocations: 0.5352 MB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2864, allocations: 8.031 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.2865, allocations: 58.73 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.2865, allocations: 24.66 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.2868, allocations: 268.8 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2868, allocations: 16.38 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.2869, allocations: 12.38 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.2872, allocations: 224.7 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2872, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2872, allocations: 4 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2873, allocations: 4 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.288, allocations: 0.7448 MB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.2889, allocations: 0.5744 MB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.2892, allocations: 223.9 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2894, allocations: 104.8 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.2894, allocations: 19.91 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.2897, allocations: 177.5 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.2897, allocations: 0 / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.0006498/0.2904, allocations: 370.7 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.2905, allocations: 132.5 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.2908, allocations: 308.9 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2908, allocations: 33.7 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.2909, allocations: 128.6 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.291, allocations: 110.5 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.2911, allocations: 69.69 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2912, allocations: 330.8 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2913, allocations: 79.95 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.2915, allocations: 120.5 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.2918, allocations: 209.2 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2918, allocations: 0 / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003991/0.2922, allocations: 277.2 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2922, allocations: 4 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2922, allocations: 0 / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2922, allocations: 4 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.2924, allocations: 59.91 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2925, allocations: 7.938 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2926, allocations: 27.78 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.2926, allocations: 11.98 kB / 1.175 GB, free: 13.7 MB / 0.9356 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.0001446/0.2928, allocations: 165.7 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.2928, allocations: 27.72 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/0.2935, allocations: 373 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2935, allocations: 8 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2935, allocations: 7.938 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2935, allocations: 0 / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.2938, allocations: 329.3 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2938, allocations: 0 / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.294, allocations: 59.91 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.294, allocations: 0 / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.294, allocations: 8 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.294, allocations: 4 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.294, allocations: 3.938 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.2945, allocations: 325.6 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2946, allocations: 144.6 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.2946, allocations: 8 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.2948, allocations: 11.98 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.2948, allocations: 31.84 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.2949, allocations: 15.98 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001863/0.2951, allocations: 236.4 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2951, allocations: 4 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002886/0.2954, allocations: 60 kB / 1.177 GB, free: 11.81 MB / 0.9356 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.001453/0.2968, allocations: 1.144 MB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.2972, allocations: 215.8 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2972, allocations: 4 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2974, allocations: 127.8 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.2977, allocations: 42.56 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.3003, allocations: 2.447 MB / 1.181 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3006, allocations: 0.7617 MB / 1.182 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.3009, allocations: 142.8 kB / 1.182 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3011, allocations: 95.39 kB / 1.182 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3011, allocations: 0 / 1.182 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.3243, allocations: 5.516 MB / 1.187 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.758, allocations: 5.109 kB / 1.187 GB, free: 1.48 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches