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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_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_9_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.001723/0.001724, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.411/2.411, allocations: 390.2 MB / 0.6646 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7133, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003015/0.7164, allocations: 1.66 MB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.7179, allocations: 1.169 MB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.718, allocations: 4.844 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.7182, allocations: 28.03 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.7185, allocations: 64.94 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.719, allocations: 149.5 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.7192, allocations: 236.1 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.7194, allocations: 30.06 kB / 0.9528 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.7195, allocations: 83.58 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.7197, allocations: 94.3 kB / 0.953 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.7198, allocations: 18.06 kB / 0.953 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.72, allocations: 75.69 kB / 0.9531 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.7201, allocations: 81.53 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.7202, allocations: 109.8 kB / 0.9533 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.7205, allocations: 284.7 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7206, allocations: 0 / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7206, allocations: 1.062 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.7206, allocations: 0 / 0.9535 GB, free: 6.211 MB / 0.7169 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.0007008/0.7213, allocations: 0.5379 MB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.7213, allocations: 9.219 kB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.7214, allocations: 29.62 kB / 0.9541 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.7217, allocations: 266.2 kB / 0.9544 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.7217, allocations: 10.28 kB / 0.9544 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.7217, allocations: 14.94 kB / 0.9544 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.7221, allocations: 230.3 kB / 0.9546 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7221, allocations: 3.984 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.7221, allocations: 6.188 kB / 0.9546 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7221, allocations: 3.594 kB / 0.9546 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.7229, allocations: 0.7346 MB / 0.9553 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.7237, allocations: 0.5802 MB / 0.9559 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.724, allocations: 222.2 kB / 0.9561 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.7241, allocations: 107.1 kB / 0.9562 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.7242, allocations: 20.11 kB / 0.9562 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.7245, allocations: 168.5 kB / 0.9564 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.073e-06/0.7245, allocations: 1.438 kB / 0.9564 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006275/0.7252, allocations: 373.8 kB / 0.9568 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.7252, allocations: 132.6 kB / 0.9569 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.7255, allocations: 311.1 kB / 0.9572 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.7255, allocations: 31.08 kB / 0.9572 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.7256, allocations: 126.4 kB / 0.9573 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.7256, allocations: 108.1 kB / 0.9574 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.7257, allocations: 65.78 kB / 0.9575 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.7258, allocations: 337.7 kB / 0.9578 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.7259, allocations: 82.55 kB / 0.9579 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.7261, allocations: 123.7 kB / 0.958 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.7264, allocations: 208.4 kB / 0.9582 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7264, allocations: 0 / 0.9582 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004217/0.7268, allocations: 272.5 kB / 0.9585 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7269, allocations: 5.188 kB / 0.9585 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7269, allocations: 1.125 kB / 0.9585 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7269, allocations: 5.125 kB / 0.9585 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.7271, allocations: 58.31 kB / 0.9585 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7271, allocations: 1.375 kB / 0.9585 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.7273, allocations: 35.67 kB / 0.9586 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7273, allocations: 21.36 kB / 0.9586 GB, free: 2.523 MB / 0.7169 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.0001251/0.7275, allocations: 160.2 kB / 0.9587 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.7275, allocations: 24.41 kB / 0.9588 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.7282, allocations: 381.2 kB / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7282, allocations: 3.25 kB / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7282, allocations: 1.219 kB / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7282, allocations: 3.938 kB / 0.9591 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.7284, allocations: 328.3 kB / 0.9595 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7284, allocations: 3.938 kB / 0.9595 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.7286, allocations: 52.16 kB / 0.9595 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7286, allocations: 1.281 kB / 0.9595 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.7286, allocations: 12.22 kB / 0.9595 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7287, allocations: 5.875 kB / 0.9595 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7287, allocations: 3.984 kB / 0.9595 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.7291, allocations: 322.5 kB / 0.9598 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/0.7292, allocations: 142.1 kB / 0.96 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.7292, allocations: 6.375 kB / 0.96 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.7294, allocations: 14.61 kB / 0.96 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.7295, allocations: 29.2 kB / 0.96 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.7295, allocations: 17.28 kB / 0.96 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001727/0.7297, allocations: 236.2 kB / 0.9603 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7297, allocations: 0 / 0.9603 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003024/0.73, allocations: 52.22 kB / 0.9603 GB, free: 1.305 MB / 0.7169 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.0009336/0.7309, allocations: 421.7 kB / 0.9607 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.7314, allocations: 289.2 kB / 0.961 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7314, allocations: 1.062 kB / 0.961 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.7316, allocations: 127.2 kB / 0.9611 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7319, allocations: 46.56 kB / 0.9612 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.7326, allocations: 0.5011 MB / 0.9616 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.7329, allocations: 0.762 MB / 0.9624 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.7332, allocations: 148.2 kB / 0.9625 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.7333, allocations: 39.77 kB / 0.9626 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.7333, allocations: 0 / 0.9626 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.006853/0.7402, allocations: 3.027 MB / 0.9655 GB, free: 14.27 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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