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.0009128/0.0009129, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009123/0.0009124, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.526/2.526, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003431, allocations: 11.94 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.649, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001841/0.6508, allocations: 1.354 MB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.6524, allocations: 1.101 MB / 0.9835 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.6525, allocations: 0 / 0.9835 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.6526, allocations: 23.92 kB / 0.9836 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.6528, allocations: 55.75 kB / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.6532, allocations: 127 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.6535, allocations: 209.6 kB / 0.9839 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.6535, allocations: 12 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.6536, allocations: 75.75 kB / 0.984 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.6538, allocations: 79.78 kB / 0.9841 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.6539, allocations: 8 kB / 0.9841 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.654, allocations: 67.97 kB / 0.9842 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.6541, allocations: 63.81 kB / 0.9842 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.6542, allocations: 61.58 kB / 0.9843 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.6544, allocations: 209.8 kB / 0.9845 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6544, allocations: 4 kB / 0.9845 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.776e-06/0.6544, allocations: 0 / 0.9845 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.6544, allocations: 3.938 kB / 0.9845 GB, free: 2.793 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.0006383/0.6551, allocations: 499.4 kB / 0.985 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6551, allocations: 8.031 kB / 0.985 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.6552, allocations: 50.55 kB / 0.985 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.6552, allocations: 27.62 kB / 0.9851 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.6555, allocations: 263.7 kB / 0.9853 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.6555, allocations: 15.98 kB / 0.9853 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.6556, allocations: 16 kB / 0.9853 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.6559, allocations: 224.4 kB / 0.9856 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6559, allocations: 0 / 0.9856 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.656, allocations: 4 kB / 0.9856 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.656, allocations: 4 kB / 0.9856 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.6568, allocations: 0.7373 MB / 0.9863 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.6576, allocations: 0.582 MB / 0.9868 GB, free: 216 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.658, allocations: 223.5 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.6582, allocations: 100.8 kB / 0.9872 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.6582, allocations: 19.97 kB / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.6585, allocations: 169.5 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.6585, allocations: 3.938 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.0006078/0.6592, allocations: 371.5 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.6592, allocations: 136.5 kB / 0.9878 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.6595, allocations: 301 kB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6595, allocations: 29.7 kB / 0.9881 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.6596, allocations: 136.6 kB / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.6597, allocations: 110.4 kB / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.6597, allocations: 8 kB / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6599, allocations: 334.8 kB / 0.9887 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.66, allocations: 79.95 kB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.6602, allocations: 119.4 kB / 0.9889 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.6603, allocations: 103.8 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6603, allocations: 4 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003965/0.6607, allocations: 270 kB / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6608, allocations: 4 kB / 0.9893 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6608, allocations: 7.984 kB / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6608, allocations: 0 / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.661, allocations: 55.91 kB / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.661, allocations: 4 kB / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.6612, allocations: 31.77 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.6612, allocations: 12 kB / 0.9894 GB, free: 13.52 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.0001473/0.6613, allocations: 161.7 kB / 0.9895 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.6614, allocations: 35.62 kB / 0.9896 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.662, allocations: 368.7 kB / 0.9899 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6621, allocations: 4 kB / 0.9899 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6621, allocations: 0 / 0.9899 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6621, allocations: 3.984 kB / 0.9899 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.6624, allocations: 337.3 kB / 0.9902 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6624, allocations: 0 / 0.9902 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.6626, allocations: 55.91 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6626, allocations: 0 / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.6626, allocations: 15.98 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.6626, allocations: 0 / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6626, allocations: 0 / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.663, allocations: 318.2 kB / 0.9906 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.6632, allocations: 156.6 kB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.6632, allocations: 8 kB / 0.9908 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.6634, allocations: 19.92 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.6634, allocations: 27.91 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.6635, allocations: 11.98 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002086/0.6637, allocations: 236.4 kB / 0.991 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6637, allocations: 0 / 0.991 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002961/0.664, allocations: 59.94 kB / 0.9911 GB, free: 11.64 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.001502/0.6655, allocations: 1.144 MB / 0.9922 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.6659, allocations: 219.8 kB / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6659, allocations: 0 / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.6661, allocations: 124.7 kB / 0.9925 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.6664, allocations: 32.66 kB / 0.9926 GB, free: 10.25 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.002103/0.6685, allocations: 1.472 MB / 0.994 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.6688, allocations: 0.7574 MB / 0.9948 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000317/0.6691, allocations: 150.9 kB / 0.9949 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.6693, allocations: 91.33 kB / 0.995 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.6693, allocations: 0 / 0.995 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.313/1.982, allocations: 5.417 MB / 1 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.982, allocations: 257.9 kB / 1.001 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/4.961, allocations: 0 / 1.001 GB, free: 2.152 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