Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.000907/0.0009069, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001101/0.001101, allocations: 172.7 kB / 15.95 MB, free: 208 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.423/1.423, allocations: 223.2 MB / 240 MB, free: 5.32 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.538/2.538, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 16 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7948, allocations: 142.3 MB / 0.9538 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.1892/0.9841, allocations: 167.4 MB / 1.117 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.9969, allocations: 9.728 MB / 1.127 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009638/0.9979, allocations: 27.81 kB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.9988, allocations: 293.9 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/1.002, allocations: 1.022 MB / 1.128 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/1.005, allocations: 1.374 MB / 1.129 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003232/1.009, allocations: 2.734 MB / 1.132 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/1.01, allocations: 0.8549 MB / 1.133 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/1.012, allocations: 1.07 MB / 1.134 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/1.014, allocations: 1.168 MB / 1.135 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/1.014, allocations: 80 kB / 1.135 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/1.016, allocations: 1.146 MB / 1.136 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005373/1.017, allocations: 498.4 kB / 1.137 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/1.017, allocations: 261 kB / 1.137 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/1.019, allocations: 1.917 MB / 1.139 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.019, allocations: 0 / 1.139 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/1.019, allocations: 0 / 1.139 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.649e-05/1.019, allocations: 0 / 1.139 GB, free: 2.051 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004481/1.024, allocations: 1.944 MB / 1.141 GB, free: 56 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.024, allocations: 12.03 kB / 1.141 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/1.024, allocations: 114.5 kB / 1.141 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.025, allocations: 233.9 kB / 1.141 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/1.027, allocations: 1.345 MB / 1.143 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/1.027, allocations: 66 kB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.028, allocations: 87.94 kB / 1.143 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/1.029, allocations: 1.006 MB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.029, allocations: 7.953 kB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/1.029, allocations: 32 kB / 1.144 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/1.029, allocations: 16 kB / 1.144 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/1.031, allocations: 0.9183 MB / 1.145 GB, free: 12.1 MB / 0.9044 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.006666/1.038, allocations: 4.756 MB / 1.149 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.039, allocations: 0.7609 MB / 1.15 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/1.04, allocations: 430.7 kB / 1.15 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/1.041, allocations: 287.7 kB / 1.151 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.041, allocations: 39 kB / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/1.041, allocations: 0 / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50): time 0.004783/1.045, allocations: 1.639 MB / 1.152 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.045, allocations: 55.84 kB / 1.152 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.048, allocations: 1.817 MB / 1.154 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.048, allocations: 37.7 kB / 1.154 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/1.049, allocations: 0.5988 MB / 1.155 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/1.049, allocations: 169.5 kB / 1.155 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/1.049, allocations: 16 kB / 1.155 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.049, allocations: 345.9 kB / 1.155 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/1.051, allocations: 0.9584 MB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/1.053, allocations: 1.302 MB / 1.157 GB, free: 14.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/1.054, allocations: 0.8652 MB / 1.158 GB, free: 13.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/1.054, allocations: 0 / 1.158 GB, free: 13.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00413/1.058, allocations: 2.184 MB / 1.16 GB, free: 11.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.059, allocations: 238.9 kB / 1.161 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/1.059, allocations: 4 kB / 1.161 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/1.059, allocations: 152.7 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.061, allocations: 175.8 kB / 1.161 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/1.062, allocations: 1.318 MB / 1.162 GB, free: 9.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.063, allocations: 243 kB / 1.162 GB, free: 9.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.063, allocations: 35.98 kB / 1.163 GB, free: 9.078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.063, allocations: 4 kB / 1.163 GB, free: 9.074 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00351/1.067, allocations: 1.965 MB / 1.164 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.067, allocations: 8 kB / 1.164 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/1.067, allocations: 8 kB / 1.164 GB, free: 7.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/1.068, allocations: 196.2 kB / 1.165 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.068, allocations: 11.98 kB / 1.165 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.07, allocations: 210.8 kB / 1.165 GB, free: 6.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/1.07, allocations: 31.98 kB / 1.165 GB, free: 6.652 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006461/1.07, allocations: 392.8 kB / 1.165 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/1.071, allocations: 138.2 kB / 1.165 GB, free: 6.121 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/1.073, allocations: 1.04 MB / 1.166 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.073, allocations: 8 kB / 1.166 GB, free: 5.066 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.073, allocations: 0 / 1.166 GB, free: 5.066 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/1.073, allocations: 3.984 kB / 1.166 GB, free: 5.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/1.077, allocations: 2.273 MB / 1.169 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.077, allocations: 4.219 kB / 1.169 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.078, allocations: 123.8 kB / 1.169 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007111/1.079, allocations: 144.7 kB / 1.169 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/1.079, allocations: 19.98 kB / 1.169 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/1.08, allocations: 1.306 MB / 1.17 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.08, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/1.083, allocations: 1.642 MB / 1.172 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/1.083, allocations: 331 kB / 1.172 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/1.084, allocations: 12 kB / 1.172 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.085, allocations: 95.95 kB / 1.172 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.085, allocations: 44.41 kB / 1.172 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/1.085, allocations: 16 kB / 1.172 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001834/1.087, allocations: 1.309 MB / 1.174 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.087, allocations: 0 / 1.174 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001863/1.089, allocations: 0.6826 MB / 1.174 GB, free: 12.87 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/1.092, allocations: 2.42 MB / 1.177 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005208/1.098, allocations: 2.791 MB / 1.179 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.098, allocations: 0 / 1.179 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009502/1.099, allocations: 458.7 kB / 1.18 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.101, allocations: 459.5 kB / 1.18 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.12, allocations: 11.56 MB / 1.191 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/1.121, allocations: 1.171 MB / 1.193 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001764/1.123, allocations: 374.5 kB / 1.193 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/1.123, allocations: 0.4953 MB / 1.193 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/1.123, allocations: 0 / 1.193 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/1.187, allocations: 39.7 MB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.187, allocations: 271.3 kB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.933, allocations: 3.938 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat does not exist to compare? outputFormat=mat