Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_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.005779/0.005779, allocations: 103.2 kB / 15.73 MB, free: 6.043 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.001267/0.001268, allocations: 194.1 kB / 16.68 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.75 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2364, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002641/0.2391, allocations: 1.666 MB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2407, allocations: 1.164 MB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.2408, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.241, allocations: 27.78 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2413, allocations: 75.62 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.2417, allocations: 150.5 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.242, allocations: 237.6 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2421, allocations: 30.78 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2422, allocations: 79.77 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.2424, allocations: 103.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.2425, allocations: 16 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.2426, allocations: 75.97 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.2427, allocations: 79.81 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.2428, allocations: 107.3 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.2432, allocations: 295 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2432, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2432, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2432, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 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.0007436/0.244, allocations: 0.5506 MB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.244, allocations: 8.031 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.2441, allocations: 50.73 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.2441, allocations: 24.66 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.2444, allocations: 272.5 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2444, allocations: 8.375 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2445, allocations: 16.38 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.2448, allocations: 224.7 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2448, allocations: 3.984 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2448, allocations: 11.94 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2448, allocations: 4 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.2456, allocations: 0.7371 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.2464, allocations: 0.5666 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.2468, allocations: 236.4 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.2469, allocations: 104.8 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.247, allocations: 23.95 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.2473, allocations: 173.5 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.2473, allocations: 3.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0005932/0.2479, allocations: 367.6 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.248, allocations: 136.5 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.2482, allocations: 308.9 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2483, allocations: 29.7 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.2483, allocations: 132.6 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.2484, allocations: 102.5 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.2485, allocations: 65.69 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2486, allocations: 338.8 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.2488, allocations: 71.95 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2489, allocations: 131.6 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2492, allocations: 204.7 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2492, allocations: 0 / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003881/0.2496, allocations: 281.6 kB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2496, allocations: 4 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2497, allocations: 0 / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2497, allocations: 4 kB / 1.096 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2499, allocations: 55.91 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2499, allocations: 7.938 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.25, allocations: 31.73 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2501, allocations: 15.98 kB / 1.097 GB, free: 8.336 MB / 0.8575 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.0001409/0.2502, allocations: 161.8 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.2503, allocations: 23.72 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.2509, allocations: 372.8 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2509, allocations: 4 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2509, allocations: 3.938 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2509, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.2512, allocations: 329.3 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2512, allocations: 0 / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.2513, allocations: 55.91 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2514, allocations: 4 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2514, allocations: 8 kB / 1.097 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.2514, allocations: 7.984 kB / 1.098 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2514, allocations: 7.938 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.2518, allocations: 322.2 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.252, allocations: 140.6 kB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.252, allocations: 8 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2521, allocations: 26.66 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2522, allocations: 27.89 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.2522, allocations: 12 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000179/0.2524, allocations: 236.4 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2524, allocations: 0 / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002626/0.2527, allocations: 55.94 kB / 1.098 GB, free: 6.473 MB / 0.8575 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.001397/0.2541, allocations: 1.146 MB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.2545, allocations: 224.3 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2545, allocations: 0 / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.2547, allocations: 128.3 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.2549, allocations: 43.58 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.2575, allocations: 2.431 MB / 1.102 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.2578, allocations: 0.7579 MB / 1.103 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.2582, allocations: 146.8 kB / 1.103 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2583, allocations: 87.39 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of SimCode: time 7.41e-07/0.2583, allocations: 0 / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.949/4.207, allocations: 5.595 MB / 1.109 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/20.74, allocations: 14.61 kB / 1.109 GB, free: 12 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches