Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 405.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 176.7 kB / 498.1 MB, free: 5.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 103.8 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 10.5 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.405/4.73, allocations: 1.873 GB / 3.096 GB, free: 113.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/4.73, allocations: 91.64 kB / 3.096 GB, free: 113.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.856/12.59, allocations: 2.092 GB / 5.187 GB, free: 186.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.404e-06/12.59, allocations: 0 / 5.187 GB, free: 186.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001982/12.59, allocations: 39.89 kB / 5.187 GB, free: 186.9 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.005711/12.59, allocations: 1.873 MB / 5.189 GB, free: 186 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/12.59, allocations: 14.98 kB / 5.189 GB, free: 186 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003808/12.59, allocations: 125.4 kB / 5.189 GB, free: 185.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/12.59, allocations: 202.3 kB / 5.189 GB, free: 185.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/12.6, allocations: 0.9505 MB / 5.19 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/12.6, allocations: 131.2 kB / 5.191 GB, free: 185.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/12.6, allocations: 89.06 kB / 5.191 GB, free: 185.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/12.6, allocations: 0.8994 MB / 5.192 GB, free: 185.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/12.6, allocations: 3.375 kB / 5.192 GB, free: 185.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/12.6, allocations: 39.19 kB / 5.192 GB, free: 185.2 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/12.6, allocations: 18.38 kB / 5.192 GB, free: 185.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/12.6, allocations: 0.503 MB / 5.192 GB, free: 185.2 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/12.6, allocations: 4.846 MB / 5.197 GB, free: 181.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/12.61, allocations: 417.4 kB / 5.197 GB, free: 181.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/12.61, allocations: 104 kB / 5.197 GB, free: 181.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/12.61, allocations: 53.47 kB / 5.197 GB, free: 181.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=31): time 5.169e-06/12.61, allocations: 0 / 5.197 GB, free: 181.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=31): time 0.002205/12.61, allocations: 0.7867 MB / 5.198 GB, free: 181.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/12.61, allocations: 399.7 kB / 5.198 GB, free: 180.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/12.61, allocations: 1.099 MB / 5.2 GB, free: 180.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/12.61, allocations: 39.39 kB / 5.2 GB, free: 180.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/12.61, allocations: 0.5507 MB / 5.2 GB, free: 180.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/12.61, allocations: 114.7 kB / 5.2 GB, free: 180.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/12.61, allocations: 6.125 kB / 5.2 GB, free: 180.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.69e-05/12.61, allocations: 320.2 kB / 5.201 GB, free: 179.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/12.61, allocations: 93.41 kB / 5.201 GB, free: 179.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/12.61, allocations: 371.4 kB / 5.201 GB, free: 179.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/12.61, allocations: 151.5 kB / 5.201 GB, free: 179.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/12.61, allocations: 3.594 kB / 5.201 GB, free: 179.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000984/12.61, allocations: 498.7 kB / 5.202 GB, free: 179.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/12.61, allocations: 7.906 kB / 5.202 GB, free: 179.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/12.61, allocations: 3.594 kB / 5.202 GB, free: 179.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/12.61, allocations: 69.09 kB / 5.202 GB, free: 179.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/12.61, allocations: 62.86 kB / 5.202 GB, free: 179.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/12.62, allocations: 2.915 MB / 5.205 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/12.62, allocations: 124.4 kB / 5.205 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/12.62, allocations: 29.98 kB / 5.205 GB, free: 176.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005209/12.62, allocations: 276.2 kB / 5.205 GB, free: 176.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/12.62, allocations: 135.7 kB / 5.205 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/12.62, allocations: 128.4 kB / 5.205 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/12.62, allocations: 7.625 kB / 5.205 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/12.62, allocations: 7.375 kB / 5.205 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/12.62, allocations: 7.031 kB / 5.205 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/12.62, allocations: 2.511 MB / 5.208 GB, free: 175.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/12.62, allocations: 6.312 kB / 5.208 GB, free: 175.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/12.62, allocations: 52.34 kB / 5.208 GB, free: 175.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/12.62, allocations: 71.83 kB / 5.208 GB, free: 175.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/12.62, allocations: 15.06 kB / 5.208 GB, free: 175.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/12.62, allocations: 2.912 MB / 5.211 GB, free: 172.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/12.62, allocations: 10.62 kB / 5.211 GB, free: 172.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/12.63, allocations: 0.9967 MB / 5.212 GB, free: 171.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/12.63, allocations: 248 kB / 5.212 GB, free: 171.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/12.63, allocations: 14.53 kB / 5.212 GB, free: 171.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/12.63, allocations: 66.34 kB / 5.212 GB, free: 171.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/12.63, allocations: 47.39 kB / 5.212 GB, free: 171.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/12.63, allocations: 23.12 kB / 5.212 GB, free: 171.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00146/12.63, allocations: 0.8637 MB / 5.213 GB, free: 171.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.81e-07/12.63, allocations: 0 / 5.213 GB, free: 171.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003286/12.63, allocations: 0.6152 MB / 5.214 GB, free: 171.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009261/12.64, allocations: 6.411 MB / 5.22 GB, free: 167 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001166/12.64, allocations: 0.5074 MB / 5.22 GB, free: 166.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/12.64, allocations: 0 / 5.22 GB, free: 166.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/12.64, allocations: 416.3 kB / 5.221 GB, free: 166.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/12.65, allocations: 0.7643 MB / 5.221 GB, free: 166.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/12.65, allocations: 4.899 MB / 5.226 GB, free: 162.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/12.65, allocations: 1.163 MB / 5.227 GB, free: 162.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001225/12.66, allocations: 241.2 kB / 5.228 GB, free: 162.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/12.66, allocations: 438.9 kB / 5.228 GB, free: 162.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.132e-06/12.66, allocations: 0 / 5.228 GB, free: 162.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/12.78, allocations: 80.62 MB / 5.307 GB, free: 114.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/12.78, allocations: 270.1 kB / 5.307 GB, free: 113.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.003/17.78, allocations: 0.9375 kB / 5.307 GB, free: 113.9 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat does not exist to compare? outputFormat=mat