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.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.001203/0.001203, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001421/0.001421, allocations: 218.6 kB / 23.03 MB, free: 4.945 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.134/3.134, allocations: 0.5003 GB / 0.8062 GB, free: 28.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) [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.001913/0.001913, allocations: 63.41 kB / 1.17 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3377, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00356/0.3413, allocations: 1.677 MB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3436, allocations: 1.356 MB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.3437, allocations: 4 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.3439, allocations: 31.77 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.3444, allocations: 115.5 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.3449, allocations: 146.6 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.3453, allocations: 257.5 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3454, allocations: 21.58 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3455, allocations: 91.75 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3458, allocations: 99.7 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.3458, allocations: 16 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.3461, allocations: 123.9 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3462, allocations: 79.81 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.3463, allocations: 91.45 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.3468, allocations: 346.6 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3468, allocations: 4 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3468, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3468, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 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.0009214/0.3478, allocations: 0.4934 MB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3478, allocations: 12.02 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.501e-05/0.3478, allocations: 8.188 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.3479, allocations: 54.67 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.546e-05/0.348, allocations: 24.8 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3483, allocations: 221 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3483, allocations: 16.38 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3483, allocations: 16.12 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.3488, allocations: 319.8 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3488, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3488, allocations: 12 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3488, allocations: 4 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009416/0.3498, allocations: 0.737 MB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3508, allocations: 0.5229 MB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.3512, allocations: 200 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3513, allocations: 100.8 kB / 1.352 GB, free: 8.621 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.3514, allocations: 15.98 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.3518, allocations: 199.2 kB / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.3518, allocations: 0 / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0007375/0.3525, allocations: 370.6 kB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.3526, allocations: 136.5 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.353, allocations: 320.8 kB / 1.353 GB, free: 7.539 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.353, allocations: 33.7 kB / 1.353 GB, free: 7.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.3531, allocations: 124.8 kB / 1.353 GB, free: 7.375 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3532, allocations: 111 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3533, allocations: 69.69 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3535, allocations: 342.8 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3536, allocations: 71.97 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3539, allocations: 204.5 kB / 1.354 GB, free: 6.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.3542, allocations: 206.4 kB / 1.354 GB, free: 6.344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3542, allocations: 0 / 1.354 GB, free: 6.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004747/0.3547, allocations: 277.3 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3547, allocations: 4 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3547, allocations: 4 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3547, allocations: 0 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3549, allocations: 59.91 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.355, allocations: 7.938 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.3551, allocations: 35.7 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.3551, allocations: 12 kB / 1.355 GB, free: 5.945 MB / 1.045 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.0001704/0.3553, allocations: 157.8 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.3554, allocations: 31.8 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.3561, allocations: 388.8 kB / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3561, allocations: 4 kB / 1.355 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3561, allocations: 3.938 kB / 1.355 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3561, allocations: 3.984 kB / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.3565, allocations: 268.5 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3565, allocations: 0 / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.3567, allocations: 63.91 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3567, allocations: 0 / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3567, allocations: 8 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3567, allocations: 4 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3567, allocations: 3.938 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.3572, allocations: 313.8 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3573, allocations: 67.73 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3574, allocations: 4 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3576, allocations: 18.94 kB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.3576, allocations: 35.83 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.3577, allocations: 19.98 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002539/0.3579, allocations: 240.4 kB / 1.356 GB, free: 4.266 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3579, allocations: 0 / 1.356 GB, free: 4.266 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003495/0.3583, allocations: 79.83 kB / 1.356 GB, free: 4.188 MB / 1.045 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.002486/0.3608, allocations: 1.235 MB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.3612, allocations: 207.8 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3612, allocations: 0 / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3614, allocations: 119.8 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3618, allocations: 45.09 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.3653, allocations: 2.488 MB / 1.36 GB, free: 188 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.3654, allocations: 146.9 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.3658, allocations: 142.9 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.366, allocations: 95.33 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.366, allocations: 4 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3969, allocations: 6.375 MB / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12, allocations: 4.688 kB / 1.367 GB, free: 9.484 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.73933109000791]