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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001164/0.001164, allocations: 100.1 kB / 15.88 MB, free: 12 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.001433/0.001433, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.2 MB / 0.6649 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7182, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.0027/0.721, allocations: 1.714 MB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.7223, allocations: 1.153 MB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.7224, allocations: 1.625 kB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.7226, allocations: 17.86 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.7228, allocations: 60.25 kB / 0.9525 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.7231, allocations: 122.5 kB / 0.9526 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.7234, allocations: 227.4 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.7235, allocations: 22.48 kB / 0.9528 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.7236, allocations: 77.14 kB / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.7237, allocations: 85.23 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.7238, allocations: 9.781 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.7239, allocations: 69.95 kB / 0.9531 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.724, allocations: 74.53 kB / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.664e-05/0.7241, allocations: 96.83 kB / 0.9532 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.7243, allocations: 212 kB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7244, allocations: 0 / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7244, allocations: 0.7812 kB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7244, allocations: 0 / 0.9534 GB, free: 6.379 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.000659/0.725, allocations: 0.5375 MB / 0.9539 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.7251, allocations: 9.688 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.7252, allocations: 33.81 kB / 0.954 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.7254, allocations: 266 kB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.7254, allocations: 10.75 kB / 0.9542 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.7254, allocations: 17.97 kB / 0.9543 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.7258, allocations: 222.5 kB / 0.9545 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7258, allocations: 0 / 0.9545 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.7258, allocations: 6.531 kB / 0.9545 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7258, allocations: 3.469 kB / 0.9545 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.7266, allocations: 0.7366 MB / 0.9552 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.7274, allocations: 0.5756 MB / 0.9558 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.7277, allocations: 230.2 kB / 0.956 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.7278, allocations: 100.7 kB / 0.9561 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.7279, allocations: 25.09 kB / 0.9561 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.7282, allocations: 168.9 kB / 0.9563 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.7282, allocations: 3.984 kB / 0.9563 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006097/0.7288, allocations: 375.1 kB / 0.9566 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.7289, allocations: 132 kB / 0.9568 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.7291, allocations: 310.7 kB / 0.9571 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.7292, allocations: 36.44 kB / 0.9571 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.7292, allocations: 117 kB / 0.9572 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.7293, allocations: 117.5 kB / 0.9573 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.7294, allocations: 63.81 kB / 0.9574 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.7294, allocations: 335.1 kB / 0.9577 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.7296, allocations: 78.23 kB / 0.9578 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.7297, allocations: 123.1 kB / 0.9579 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.73, allocations: 209.7 kB / 0.9581 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.73, allocations: 4 kB / 0.9581 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003969/0.7305, allocations: 276.7 kB / 0.9584 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7305, allocations: 5.125 kB / 0.9584 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7305, allocations: 0 / 0.9584 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.7305, allocations: 1.719 kB / 0.9584 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.7307, allocations: 62.34 kB / 0.9584 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7307, allocations: 9.062 kB / 0.9584 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.7309, allocations: 28 kB / 0.9585 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.7309, allocations: 12.73 kB / 0.9585 GB, free: 2.691 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.0001273/0.731, allocations: 165.5 kB / 0.9586 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.7311, allocations: 23.38 kB / 0.9586 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.7317, allocations: 377.8 kB / 0.959 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7317, allocations: 3.281 kB / 0.959 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7318, allocations: 0 / 0.959 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.7318, allocations: 12.92 kB / 0.959 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.7321, allocations: 323.7 kB / 0.9593 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7321, allocations: 1 kB / 0.9593 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.7322, allocations: 63.81 kB / 0.9594 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7323, allocations: 1.156 kB / 0.9594 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.7323, allocations: 12.64 kB / 0.9594 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7323, allocations: 1.031 kB / 0.9594 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7323, allocations: 0 / 0.9594 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.7328, allocations: 321.7 kB / 0.9597 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.7329, allocations: 143.5 kB / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.7329, allocations: 9.359 kB / 0.9599 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.7331, allocations: 23.55 kB / 0.9599 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.7332, allocations: 27.75 kB / 0.9599 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.7332, allocations: 9.344 kB / 0.9599 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002093/0.7334, allocations: 236.4 kB / 0.9601 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7334, allocations: 1.281 kB / 0.9601 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000303/0.7337, allocations: 60.06 kB / 0.9602 GB, free: 1.457 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.0009862/0.7347, allocations: 402.5 kB / 0.9606 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.7351, allocations: 224.1 kB / 0.9608 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7351, allocations: 1.094 kB / 0.9608 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.7353, allocations: 123.4 kB / 0.9609 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.7357, allocations: 35.22 kB / 0.9609 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/0.7365, allocations: 0.6199 MB / 0.9616 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.7367, allocations: 0.7545 MB / 0.9623 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.7368, allocations: 48.7 kB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7368, allocations: 5.531 kB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.007328/0.7442, allocations: 4.177 MB / 0.9664 GB, free: 13.77 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/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