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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_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.001843/0.001843, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00263/0.002629, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.208/2.208, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.917/4.917, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005663/0.0005666, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334/1.334, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003048/1.338, allocations: 1.346 MB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001885/1.339, allocations: 1.082 MB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/1.34, allocations: 0 / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/1.34, allocations: 19.91 kB / 0.9833 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/1.34, allocations: 63.78 kB / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/1.341, allocations: 134.9 kB / 0.9834 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002695/1.341, allocations: 149.8 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/1.341, allocations: 11.98 kB / 0.9836 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/1.341, allocations: 71.83 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/1.341, allocations: 71.73 kB / 0.9837 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/1.342, allocations: 8 kB / 0.9837 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/1.342, allocations: 55.86 kB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.342, allocations: 75.8 kB / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/1.342, allocations: 53.58 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/1.342, allocations: 209.8 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.342, allocations: 0 / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.867e-06/1.342, allocations: 0 / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.342, allocations: 0 / 0.9841 GB, free: 2.941 MB / 0.7325 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.0009155/1.343, allocations: 499.4 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.343, allocations: 8.031 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/1.343, allocations: 58.55 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/1.343, allocations: 27.62 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/1.344, allocations: 251.7 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.344, allocations: 12 kB / 0.9849 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/1.344, allocations: 19.98 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/1.344, allocations: 220.4 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.344, allocations: 0 / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/1.344, allocations: 12 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/1.344, allocations: 11.94 kB / 0.9852 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/1.345, allocations: 0.7295 MB / 0.9859 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/1.347, allocations: 0.5742 MB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/1.347, allocations: 227.5 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/1.347, allocations: 27.95 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/1.348, allocations: 165.6 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/1.348, allocations: 0 / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.0007112/1.348, allocations: 363.6 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/1.348, allocations: 136.5 kB / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/1.349, allocations: 301 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.349, allocations: 33.7 kB / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.349, allocations: 132.6 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.349, allocations: 106.5 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/1.349, allocations: 4 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.349, allocations: 342.8 kB / 0.9882 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/1.349, allocations: 75.95 kB / 0.9883 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/1.35, allocations: 123.3 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/1.35, allocations: 103.9 kB / 0.9885 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.35, allocations: 0 / 0.9885 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004418/1.35, allocations: 270 kB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.35, allocations: 4 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.35, allocations: 0 / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.35, allocations: 4 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/1.351, allocations: 59.91 kB / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.351, allocations: 7.938 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.351, allocations: 27.77 kB / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/1.351, allocations: 19.98 kB / 0.9889 GB, free: 13.78 MB / 0.7481 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002209/1.351, allocations: 161.7 kB / 0.989 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/1.351, allocations: 31.62 kB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/1.352, allocations: 376.7 kB / 0.9894 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.352, allocations: 4.047 kB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.352, allocations: 3.984 kB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.352, allocations: 4 kB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/1.352, allocations: 333.2 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.352, allocations: 0 / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.352, allocations: 55.97 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/1.352, allocations: 3.938 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.353, allocations: 11.94 kB / 0.9898 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.353, allocations: 4 kB / 0.9898 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.353, allocations: 0 / 0.9898 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/1.353, allocations: 314.2 kB / 0.9901 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/1.353, allocations: 156.6 kB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/1.353, allocations: 8 kB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/1.353, allocations: 15.98 kB / 0.9903 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/1.354, allocations: 23.97 kB / 0.9903 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.354, allocations: 15.98 kB / 0.9903 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000263/1.354, allocations: 228.5 kB / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.354, allocations: 0 / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003254/1.354, allocations: 63.98 kB / 0.9906 GB, free: 11.9 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/1.356, allocations: 1.152 MB / 0.9917 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004294/1.356, allocations: 219.8 kB / 0.992 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.356, allocations: 3.938 kB / 0.992 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.357, allocations: 124.7 kB / 0.9921 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/1.357, allocations: 28.66 kB / 0.9921 GB, free: 10.5 MB / 0.7481 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/1.359, allocations: 1.444 MB / 0.9935 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/1.36, allocations: 0.7613 MB / 0.9943 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003605/1.36, allocations: 146.8 kB / 0.9944 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.36, allocations: 91.39 kB / 0.9945 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of SimCode: time 1.242e-06/1.36, allocations: 0 / 0.9945 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9469/2.307, allocations: 5.399 MB / 0.9998 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/2.307, allocations: 252.6 kB / 1 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/5.517, allocations: 3.938 kB / 1 GB, free: 2.457 MB / 0.7481 GB (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/linux/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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat