Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001144/0.001144, allocations: 187 kB / 0.4901 GB, free: 2.215 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.693/1.693, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001135/0.001135, allocations: 90.84 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003841, allocations: 10.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.22, allocations: 1.873 GB / 3.103 GB, free: 78.62 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/5.22, allocations: 91.67 kB / 3.103 GB, free: 78.58 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.717/12.94, allocations: 2.092 GB / 5.194 GB, free: 187.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.707e-06/12.94, allocations: 0 / 5.194 GB, free: 187.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001368/12.94, allocations: 46.27 kB / 5.194 GB, free: 187.5 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.005268/12.94, allocations: 1.87 MB / 5.196 GB, free: 186.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/12.94, allocations: 9.438 kB / 5.196 GB, free: 186.5 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/12.94, allocations: 126.9 kB / 5.196 GB, free: 186.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007818/12.94, allocations: 202.4 kB / 5.197 GB, free: 186.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/12.95, allocations: 0.9477 MB / 5.198 GB, free: 185.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/12.95, allocations: 132.1 kB / 5.198 GB, free: 185.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/12.95, allocations: 93.28 kB / 5.198 GB, free: 185.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/12.95, allocations: 0.8949 MB / 5.199 GB, free: 185.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/12.95, allocations: 3.938 kB / 5.199 GB, free: 185.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/12.95, allocations: 37.69 kB / 5.199 GB, free: 185.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/12.95, allocations: 18.75 kB / 5.199 GB, free: 185.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/12.95, allocations: 0.4978 MB / 5.199 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.00423/12.95, allocations: 4.86 MB / 5.204 GB, free: 181.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/12.95, allocations: 410.2 kB / 5.204 GB, free: 180.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/12.95, allocations: 105.1 kB / 5.204 GB, free: 180.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/12.95, allocations: 56.27 kB / 5.204 GB, free: 180.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=31): time 3.928e-06/12.95, allocations: 0 / 5.204 GB, free: 180.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=31): time 0.001783/12.96, allocations: 0.791 MB / 5.205 GB, free: 180.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/12.96, allocations: 398.1 kB / 5.206 GB, free: 179.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/12.96, allocations: 1.097 MB / 5.207 GB, free: 179.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/12.96, allocations: 36.52 kB / 5.207 GB, free: 179.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/12.96, allocations: 0.5668 MB / 5.207 GB, free: 179.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/12.96, allocations: 104.3 kB / 5.207 GB, free: 179.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/12.96, allocations: 3.938 kB / 5.207 GB, free: 179.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/12.96, allocations: 327.8 kB / 5.208 GB, free: 178.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/12.96, allocations: 89.52 kB / 5.208 GB, free: 178.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/12.96, allocations: 370 kB / 5.208 GB, free: 178.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/12.96, allocations: 146.4 kB / 5.208 GB, free: 178.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/12.96, allocations: 3.906 kB / 5.208 GB, free: 178.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000835/12.96, allocations: 497.1 kB / 5.209 GB, free: 178.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/12.96, allocations: 5.875 kB / 5.209 GB, free: 178.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/12.96, allocations: 3.656 kB / 5.209 GB, free: 178.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/12.96, allocations: 77.73 kB / 5.209 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/12.96, allocations: 55.56 kB / 5.209 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/12.96, allocations: 2.918 MB / 5.212 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/12.96, allocations: 131.3 kB / 5.212 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/12.96, allocations: 26.25 kB / 5.212 GB, free: 175.5 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.0005882/12.96, allocations: 271.4 kB / 5.212 GB, free: 175.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/12.96, allocations: 136.9 kB / 5.212 GB, free: 175.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/12.96, allocations: 129.9 kB / 5.212 GB, free: 175.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/12.96, allocations: 3.844 kB / 5.212 GB, free: 175.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/12.96, allocations: 8 kB / 5.212 GB, free: 175.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/12.96, allocations: 7.859 kB / 5.212 GB, free: 175.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/12.97, allocations: 2.51 MB / 5.215 GB, free: 173.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/12.97, allocations: 9.219 kB / 5.215 GB, free: 173.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/12.97, allocations: 55.12 kB / 5.215 GB, free: 173.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/12.97, allocations: 69.33 kB / 5.215 GB, free: 173.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/12.97, allocations: 13.91 kB / 5.215 GB, free: 173.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/12.97, allocations: 2.905 MB / 5.218 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/12.97, allocations: 12.88 kB / 5.218 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/12.97, allocations: 0.9951 MB / 5.219 GB, free: 169.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/12.97, allocations: 256 kB / 5.219 GB, free: 169.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/12.97, allocations: 14.98 kB / 5.219 GB, free: 169.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/12.97, allocations: 73.53 kB / 5.219 GB, free: 169.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/12.97, allocations: 39.25 kB / 5.219 GB, free: 169.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/12.97, allocations: 29.36 kB / 5.219 GB, free: 169.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00112/12.97, allocations: 0.8624 MB / 5.22 GB, free: 169.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/12.97, allocations: 0 / 5.22 GB, free: 169.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002976/12.98, allocations: 0.6174 MB / 5.221 GB, free: 169.2 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.00719/12.98, allocations: 6.399 MB / 5.227 GB, free: 164.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0011/12.98, allocations: 0.52 MB / 5.227 GB, free: 164.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/12.98, allocations: 0 / 5.227 GB, free: 164.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/12.99, allocations: 405.9 kB / 5.228 GB, free: 164 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/12.99, allocations: 0.7569 MB / 5.229 GB, free: 163.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/12.99, allocations: 4.9 MB / 5.233 GB, free: 158.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/12.99, allocations: 1.157 MB / 5.234 GB, free: 157.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001012/13, allocations: 238.7 kB / 5.235 GB, free: 157.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/13, allocations: 443.3 kB / 5.235 GB, free: 156.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.133e-06/13, allocations: 0 / 5.235 GB, free: 156.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/13.12, allocations: 80.62 MB / 5.314 GB, free: 77.59 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/13.12, allocations: 272.6 kB / 5.314 GB, free: 77.23 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.953/18.07, allocations: 10.67 kB / 5.314 GB, free: 77.23 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat does not exist to compare? outputFormat=mat