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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 86.8 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.001146/0.001146, 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.406 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.352/2.352, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7529, allocations: 142.3 MB / 0.9538 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.258/1.011, allocations: 220.6 MB / 1.169 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01663/1.028, allocations: 12.67 MB / 1.182 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.03, allocations: 47.62 kB / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/1.032, allocations: 0.6441 MB / 1.182 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/1.036, allocations: 1.418 MB / 1.184 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/1.04, allocations: 1.036 MB / 1.185 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005542/1.045, allocations: 3.886 MB / 1.189 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/1.047, allocations: 0.7841 MB / 1.189 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008225/1.055, allocations: 3.089 MB / 1.192 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/1.057, allocations: 0.8906 MB / 1.193 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002651/1.057, allocations: 48 kB / 1.193 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/1.058, allocations: 375.2 kB / 1.194 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/1.059, allocations: 410.6 kB / 1.194 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/1.059, allocations: 285 kB / 1.194 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/1.061, allocations: 1.056 MB / 1.195 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.061, allocations: 0 / 1.195 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.245e-06/1.061, allocations: 0 / 1.195 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.205e-05/1.061, allocations: 0 / 1.195 GB, free: 8.188 MB / 0.9512 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.002131/1.063, allocations: 1.402 MB / 1.197 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.063, allocations: 12.03 kB / 1.197 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/1.063, allocations: 122.7 kB / 1.197 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/1.064, allocations: 198.2 kB / 1.197 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/1.065, allocations: 0.8044 MB / 1.198 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/1.065, allocations: 121.4 kB / 1.198 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/1.065, allocations: 88 kB / 1.198 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.067, allocations: 0.9182 MB / 1.199 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/1.067, allocations: 3.938 kB / 1.199 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/1.067, allocations: 32 kB / 1.199 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/1.067, allocations: 24 kB / 1.199 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/1.068, allocations: 0.515 MB / 1.199 GB, free: 3.734 MB / 0.9512 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.00482/1.073, allocations: 4.888 MB / 1.204 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/1.073, allocations: 416.7 kB / 1.205 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/1.074, allocations: 271.8 kB / 1.205 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/1.074, allocations: 105.2 kB / 1.205 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.074, allocations: 58.42 kB / 1.205 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/1.074, allocations: 0 / 1.205 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31): time 0.001787/1.076, allocations: 0.7896 MB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/1.076, allocations: 405.8 kB / 1.206 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/1.077, allocations: 1.252 MB / 1.207 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/1.077, allocations: 41.7 kB / 1.207 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/1.078, allocations: 0.5533 MB / 1.208 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/1.078, allocations: 110.4 kB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/1.078, allocations: 4 kB / 1.208 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.078, allocations: 321.9 kB / 1.208 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/1.078, allocations: 107.9 kB / 1.208 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/1.079, allocations: 342.4 kB / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/1.079, allocations: 140 kB / 1.209 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.079, allocations: 0 / 1.209 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009034/1.08, allocations: 0.4938 MB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.08, allocations: 9.875 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.08, allocations: 7.984 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/1.08, allocations: 69.67 kB / 1.21 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.08, allocations: 63.91 kB / 1.21 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.083, allocations: 3.016 MB / 1.213 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/1.084, allocations: 115.1 kB / 1.213 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/1.084, allocations: 23.94 kB / 1.213 GB, free: 5.094 MB / 0.9669 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.0004863/1.084, allocations: 277.6 kB / 1.213 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/1.085, allocations: 138.3 kB / 1.213 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/1.085, allocations: 128 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.085, allocations: 4 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.085, allocations: 11.95 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.085, allocations: 7.984 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/1.088, allocations: 2.512 MB / 1.216 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.088, allocations: 8.688 kB / 1.216 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/1.088, allocations: 59.84 kB / 1.216 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/1.089, allocations: 73.67 kB / 1.216 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/1.089, allocations: 8 kB / 1.216 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/1.091, allocations: 2.927 MB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.091, allocations: 11.94 kB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/1.092, allocations: 0.673 MB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/1.092, allocations: 251.3 kB / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.093, allocations: 15.95 kB / 1.22 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/1.093, allocations: 67.88 kB / 1.22 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/1.093, allocations: 51.78 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/1.093, allocations: 12 kB / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001124/1.094, allocations: 0.8684 MB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001053/1.096, allocations: 267.7 kB / 1.221 GB, free: 12.21 MB / 0.9825 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.001491/1.097, allocations: 1.331 MB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009644/1.098, allocations: 0.5246 MB / 1.223 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.098, allocations: 0 / 1.223 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005179/1.099, allocations: 410.7 kB / 1.223 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/1.102, allocations: 0.7608 MB / 1.224 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.112, allocations: 6.537 MB / 1.23 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/1.113, allocations: 1.138 MB / 1.231 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001065/1.114, allocations: 243 kB / 1.231 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/1.114, allocations: 439.3 kB / 1.232 GB, free: 272 kB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/1.114, allocations: 0 / 1.232 GB, free: 272 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6151/1.729, allocations: 32.84 MB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.73, allocations: 271.6 kB / 1.264 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/4.183, allocations: 8.516 kB / 1.264 GB, free: 274.7 MB / 0.9981 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