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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_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.001194/0.001194, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001539/0.001539, allocations: 168.7 kB / 15.95 MB, free: 204 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.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7876, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001853/0.7895, allocations: 1.353 MB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.791, allocations: 1.089 MB / 0.9562 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.7911, allocations: 0 / 0.9562 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.7913, allocations: 15.2 kB / 0.9563 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.7916, allocations: 63.7 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.7919, allocations: 124.9 kB / 0.9564 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.7922, allocations: 213.2 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.7923, allocations: 17.42 kB / 0.9567 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.7924, allocations: 69.55 kB / 0.9567 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.7926, allocations: 90.92 kB / 0.9568 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.7927, allocations: 8.281 kB / 0.9568 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.7928, allocations: 59.08 kB / 0.9569 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.7929, allocations: 77.62 kB / 0.9569 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.793, allocations: 58.05 kB / 0.957 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.7932, allocations: 197.6 kB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7932, allocations: 3.938 kB / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7932, allocations: 0 / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7932, allocations: 0 / 0.9572 GB, free: 5.527 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.0006211/0.7939, allocations: 0.4976 MB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7939, allocations: 9.219 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.245e-05/0.794, allocations: 56.58 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.794, allocations: 37.05 kB / 0.9578 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.7943, allocations: 265.4 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.7943, allocations: 9.188 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.7943, allocations: 14.75 kB / 0.9581 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.7947, allocations: 216.2 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7947, allocations: 1.719 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.7947, allocations: 5.344 kB / 0.9583 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.7947, allocations: 3.719 kB / 0.9583 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.7956, allocations: 0.7364 MB / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.7964, allocations: 0.5776 MB / 0.9596 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.7968, allocations: 223.9 kB / 0.9598 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.797, allocations: 105 kB / 0.9599 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.797, allocations: 28.14 kB / 0.9599 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003188/0.7974, allocations: 167.4 kB / 0.9601 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.7974, allocations: 1.375 kB / 0.9601 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006603/0.798, allocations: 365.2 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.7981, allocations: 133.4 kB / 0.9605 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.7984, allocations: 305 kB / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.7985, allocations: 31.89 kB / 0.9609 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.7986, allocations: 134.3 kB / 0.961 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.7986, allocations: 104.5 kB / 0.9611 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.7987, allocations: 4.844 kB / 0.9611 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.7988, allocations: 338.3 kB / 0.9614 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.7989, allocations: 82.83 kB / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.7991, allocations: 116.8 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.7992, allocations: 106.7 kB / 0.9617 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7993, allocations: 0 / 0.9617 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004121/0.7997, allocations: 270.3 kB / 0.962 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.7997, allocations: 9.031 kB / 0.962 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7997, allocations: 0.8125 kB / 0.962 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7997, allocations: 4.906 kB / 0.962 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.8, allocations: 62.53 kB / 0.962 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8, allocations: 2.031 kB / 0.962 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.8001, allocations: 33.67 kB / 0.9621 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.8002, allocations: 17.2 kB / 0.9621 GB, free: 1.895 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 ($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.0001411/0.8003, allocations: 168.3 kB / 0.9622 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.8004, allocations: 32.42 kB / 0.9623 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.801, allocations: 379.2 kB / 0.9626 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.801, allocations: 3.906 kB / 0.9626 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.801, allocations: 0 / 0.9626 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.8011, allocations: 0 / 0.9626 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.8013, allocations: 328.6 kB / 0.963 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8013, allocations: 0 / 0.963 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.8015, allocations: 64.16 kB / 0.963 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8015, allocations: 1.094 kB / 0.963 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.8015, allocations: 12.7 kB / 0.963 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8016, allocations: 9.609 kB / 0.963 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8016, allocations: 0 / 0.963 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.802, allocations: 312.2 kB / 0.9633 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.8021, allocations: 150.4 kB / 0.9635 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.8022, allocations: 6.75 kB / 0.9635 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.8023, allocations: 25.53 kB / 0.9635 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.8024, allocations: 24 kB / 0.9635 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.8024, allocations: 19.39 kB / 0.9635 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001573/0.8026, allocations: 234.8 kB / 0.9638 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8026, allocations: 0 / 0.9638 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002982/0.8029, allocations: 55.61 kB / 0.9638 GB, free: 0.6523 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 (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.001495/0.8044, allocations: 1.14 MB / 0.9649 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.8048, allocations: 219.3 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8049, allocations: 1.312 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.8051, allocations: 126.5 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.8054, allocations: 40.98 kB / 0.9653 GB, free: 15.68 MB / 0.7325 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.002395/0.8078, allocations: 1.467 MB / 0.9667 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.8082, allocations: 0.7627 MB / 0.9675 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.8086, allocations: 147 kB / 0.9676 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.8087, allocations: 89.3 kB / 0.9677 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.8087, allocations: 0 / 0.9677 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4536/1.262, allocations: 5.409 MB / 0.973 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/1.263, allocations: 268.8 kB / 0.9733 GB, free: 11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/3.237, allocations: 0 / 0.9733 GB, free: 11 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat