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.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.95 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.001149/0.001149, allocations: 183.7 kB / 491.2 MB, free: 1.562 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.547/1.547, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0008583/0.0008584, allocations: 95.56 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.126e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2972, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.476/5.773, allocations: 1.873 GB / 3.085 GB, free: 434 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/5.773, allocations: 85.52 kB / 3.085 GB, free: 434 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.141/12.91, allocations: 2.067 GB / 5.153 GB, free: 108.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.334e-06/12.91, allocations: 4 kB / 5.153 GB, free: 108.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001076/12.91, allocations: 46.77 kB / 5.153 GB, free: 108.9 MB / 1.167 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.003341/12.92, allocations: 1.641 MB / 5.154 GB, free: 107.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/12.92, allocations: 8.031 kB / 5.154 GB, free: 107.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006898/12.92, allocations: 206.1 kB / 5.155 GB, free: 107 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/12.92, allocations: 0.9489 MB / 5.155 GB, free: 106 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/12.92, allocations: 93.39 kB / 5.156 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/12.92, allocations: 52 kB / 5.156 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005839/12.92, allocations: 383.9 kB / 5.156 GB, free: 105.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/12.92, allocations: 0.7535 MB / 5.157 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/12.92, allocations: 7.938 kB / 5.157 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/12.92, allocations: 7.953 kB / 5.157 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/12.92, allocations: 24 kB / 5.157 GB, free: 104.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.003131/12.93, allocations: 4.569 MB / 5.161 GB, free: 99.78 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/12.93, allocations: 384.7 kB / 5.162 GB, free: 99.27 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/12.93, allocations: 235.7 kB / 5.162 GB, free: 99 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/12.93, allocations: 101.1 kB / 5.162 GB, free: 98.89 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/12.93, allocations: 58.47 kB / 5.162 GB, free: 98.82 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/12.93, allocations: 0 / 5.162 GB, free: 98.82 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.00088/12.93, allocations: 385.2 kB / 5.162 GB, free: 98.43 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/12.93, allocations: 401.9 kB / 5.163 GB, free: 97.95 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/12.93, allocations: 0.6642 MB / 5.163 GB, free: 97.27 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/12.93, allocations: 29.7 kB / 5.163 GB, free: 97.23 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/12.93, allocations: 0.5686 MB / 5.164 GB, free: 96.65 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/12.93, allocations: 102.4 kB / 5.164 GB, free: 96.55 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/12.93, allocations: 0 / 5.164 GB, free: 96.55 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/12.93, allocations: 329.5 kB / 5.164 GB, free: 96.23 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/12.93, allocations: 67.97 kB / 5.164 GB, free: 96.16 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/12.93, allocations: 340.3 kB / 5.165 GB, free: 95.71 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/12.93, allocations: 121.5 kB / 5.165 GB, free: 95.59 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/12.93, allocations: 4 kB / 5.165 GB, free: 95.59 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004966/12.93, allocations: 386.1 kB / 5.165 GB, free: 95.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/12.93, allocations: 8 kB / 5.165 GB, free: 95.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/12.93, allocations: 4 kB / 5.165 GB, free: 95.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/12.93, allocations: 61.69 kB / 5.165 GB, free: 95.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/12.93, allocations: 59.91 kB / 5.165 GB, free: 95.06 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/12.93, allocations: 2.781 MB / 5.168 GB, free: 92.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/12.93, allocations: 67.69 kB / 5.168 GB, free: 91.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/12.93, allocations: 24 kB / 5.168 GB, free: 91.96 MB / 1.167 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 () * 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.0001143/12.93, allocations: 117.2 kB / 5.168 GB, free: 91.84 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006281/12.93, allocations: 377.3 kB / 5.169 GB, free: 91.46 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/12.93, allocations: 114.4 kB / 5.169 GB, free: 91.35 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/12.93, allocations: 92.86 kB / 5.169 GB, free: 91.26 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/12.93, allocations: 11.94 kB / 5.169 GB, free: 91.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/12.93, allocations: 4 kB / 5.169 GB, free: 91.24 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/12.93, allocations: 4 kB / 5.169 GB, free: 91.24 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/12.94, allocations: 2.345 MB / 5.171 GB, free: 88.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/12.94, allocations: 7.984 kB / 5.171 GB, free: 88.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/12.94, allocations: 47.92 kB / 5.171 GB, free: 88.72 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/12.94, allocations: 65.67 kB / 5.171 GB, free: 88.65 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/12.94, allocations: 12.22 kB / 5.171 GB, free: 88.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/12.94, allocations: 2.774 MB / 5.174 GB, free: 85.63 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/12.94, allocations: 11.94 kB / 5.174 GB, free: 85.62 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/12.94, allocations: 0.854 MB / 5.175 GB, free: 84.55 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/12.94, allocations: 219.8 kB / 5.175 GB, free: 84.32 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/12.94, allocations: 4 kB / 5.175 GB, free: 84.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/12.94, allocations: 59.88 kB / 5.175 GB, free: 84.26 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/12.94, allocations: 43.84 kB / 5.175 GB, free: 84.21 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/12.94, allocations: 16 kB / 5.175 GB, free: 84.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004961/12.94, allocations: 0.511 MB / 5.176 GB, free: 83.68 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/12.94, allocations: 0 / 5.176 GB, free: 83.68 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0021/12.94, allocations: 0.5344 MB / 5.176 GB, free: 83.14 MB / 1.167 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 () * 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.005289/12.95, allocations: 6.672 MB / 5.183 GB, free: 76.16 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006958/12.95, allocations: 463 kB / 5.183 GB, free: 75.69 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/12.95, allocations: 0 / 5.183 GB, free: 75.69 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/12.95, allocations: 368.8 kB / 5.183 GB, free: 75.31 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/12.95, allocations: 437.6 kB / 5.184 GB, free: 74.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/12.95, allocations: 1.5 MB / 5.185 GB, free: 73.27 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/12.95, allocations: 1.148 MB / 5.186 GB, free: 72.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005345/12.95, allocations: 183 kB / 5.187 GB, free: 71.91 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/12.95, allocations: 419.3 kB / 5.187 GB, free: 71.5 MB / 1.167 GB Notification: Performance of SimCode: time 3.91e-07/12.95, allocations: 0 / 5.187 GB, free: 71.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07448/13.03, allocations: 46.68 MB / 5.233 GB, free: 25.03 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/13.03, allocations: 214.8 kB / 5.233 GB, free: 24.74 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.813/16.84, allocations: 0 / 5.233 GB, free: 24.74 MB / 1.167 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