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.213/2.213, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001278/0.001278, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.621/1.621, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 99.84 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.759e-05, allocations: 4.5 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.303, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.577/4.88, allocations: 1.872 GB / 3.078 GB, free: 8.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/4.88, allocations: 83.95 kB / 3.078 GB, free: 8.438 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.697/12.58, allocations: 2.067 GB / 5.146 GB, free: 126.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.423e-06/12.58, allocations: 4 kB / 5.146 GB, free: 126.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002123/12.58, allocations: 47.5 kB / 5.146 GB, free: 126.4 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.004769/12.58, allocations: 1.64 MB / 5.147 GB, free: 124.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/12.58, allocations: 8.031 kB / 5.147 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/12.58, allocations: 210 kB / 5.147 GB, free: 124.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/12.59, allocations: 0.9318 MB / 5.148 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/12.59, allocations: 93.39 kB / 5.148 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/12.59, allocations: 55.28 kB / 5.148 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008275/12.59, allocations: 383.9 kB / 5.149 GB, free: 123.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/12.59, allocations: 0.7538 MB / 5.15 GB, free: 122.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/12.59, allocations: 4 kB / 5.15 GB, free: 122.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/12.59, allocations: 4 kB / 5.15 GB, free: 122.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/12.59, allocations: 24 kB / 5.15 GB, free: 122.2 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.004375/12.59, allocations: 4.573 MB / 5.154 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/12.59, allocations: 380.7 kB / 5.154 GB, free: 116.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/12.59, allocations: 224 kB / 5.155 GB, free: 116.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/12.59, allocations: 105 kB / 5.155 GB, free: 116.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/12.59, allocations: 58.48 kB / 5.155 GB, free: 116.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/12.59, allocations: 0 / 5.155 GB, free: 116.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001105/12.59, allocations: 392.7 kB / 5.155 GB, free: 116 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/12.59, allocations: 397.9 kB / 5.156 GB, free: 115.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/12.6, allocations: 0.6604 MB / 5.156 GB, free: 114.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/12.6, allocations: 29.7 kB / 5.156 GB, free: 114.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/12.6, allocations: 0.5707 MB / 5.157 GB, free: 114.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/12.6, allocations: 102.4 kB / 5.157 GB, free: 114.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/12.6, allocations: 0 / 5.157 GB, free: 114.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/12.6, allocations: 325.9 kB / 5.157 GB, free: 113.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/12.6, allocations: 71.97 kB / 5.157 GB, free: 113.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/12.6, allocations: 344.3 kB / 5.158 GB, free: 113.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/12.6, allocations: 121.5 kB / 5.158 GB, free: 113.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/12.6, allocations: 0 / 5.158 GB, free: 113.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005973/12.6, allocations: 390.1 kB / 5.158 GB, free: 112.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/12.6, allocations: 4 kB / 5.158 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/12.6, allocations: 4 kB / 5.158 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/12.6, allocations: 57.69 kB / 5.158 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/12.6, allocations: 63.91 kB / 5.158 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/12.6, allocations: 2.785 MB / 5.161 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/12.6, allocations: 63.75 kB / 5.161 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/12.6, allocations: 23.95 kB / 5.161 GB, free: 109.6 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.0001497/12.6, allocations: 130.5 kB / 5.161 GB, free: 109.4 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006793/12.6, allocations: 371.8 kB / 5.161 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/12.6, allocations: 106.8 kB / 5.162 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/12.6, allocations: 92.77 kB / 5.162 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/12.6, allocations: 8 kB / 5.162 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/12.6, allocations: 4 kB / 5.162 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/12.6, allocations: 7.938 kB / 5.162 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/12.6, allocations: 2.336 MB / 5.164 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/12.6, allocations: 11.94 kB / 5.164 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/12.6, allocations: 51.92 kB / 5.164 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/12.6, allocations: 72.47 kB / 5.164 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/12.6, allocations: 4.188 kB / 5.164 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/12.61, allocations: 2.787 MB / 5.167 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/12.61, allocations: 4 kB / 5.167 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/12.61, allocations: 0.8754 MB / 5.168 GB, free: 102.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/12.61, allocations: 211.8 kB / 5.168 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/12.61, allocations: 8 kB / 5.168 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/12.61, allocations: 47.95 kB / 5.168 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/12.61, allocations: 39.84 kB / 5.168 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/12.61, allocations: 20 kB / 5.168 GB, free: 101.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005051/12.61, allocations: 0.507 MB / 5.169 GB, free: 101.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/12.61, allocations: 0 / 5.169 GB, free: 101.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002177/12.61, allocations: 0.5421 MB / 5.169 GB, free: 100.7 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.005922/12.62, allocations: 6.681 MB / 5.176 GB, free: 94.03 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007762/12.62, allocations: 452.1 kB / 5.176 GB, free: 93.57 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/12.62, allocations: 4.062 kB / 5.176 GB, free: 93.57 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/12.62, allocations: 359.6 kB / 5.176 GB, free: 93.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/12.62, allocations: 441.9 kB / 5.177 GB, free: 92.78 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/12.62, allocations: 1.493 MB / 5.178 GB, free: 91.17 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/12.62, allocations: 1.163 MB / 5.179 GB, free: 89.98 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005731/12.62, allocations: 175.9 kB / 5.18 GB, free: 89.81 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/12.62, allocations: 419.3 kB / 5.18 GB, free: 89.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.395e-06/12.62, allocations: 4 kB / 5.18 GB, free: 89.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08152/12.71, allocations: 46.68 MB / 5.226 GB, free: 42.93 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/12.71, allocations: 201.9 kB / 5.226 GB, free: 42.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.775/16.48, allocations: 0 / 5.226 GB, free: 42.66 MB / 1.167 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