Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.293/2.293, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.00118/0.00118, allocations: 176.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.00106/0.00106, allocations: 95.33 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.742e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/5.932, allocations: 1.928 GB / 3.147 GB, free: 330.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/5.933, allocations: 95.31 kB / 3.147 GB, free: 330.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.017/7.95, allocations: 0.594 GB / 3.741 GB, free: 188.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.142e-06/7.95, allocations: 0 / 3.741 GB, free: 188.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001896/7.95, allocations: 32 kB / 3.741 GB, free: 188.7 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005615/7.956, allocations: 1.725 MB / 3.743 GB, free: 186.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/7.956, allocations: 11.97 kB / 3.743 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004369/7.957, allocations: 110.5 kB / 3.743 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/7.959, allocations: 289.8 kB / 3.743 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/7.963, allocations: 1.339 MB / 3.744 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/7.963, allocations: 70 kB / 3.744 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/7.964, allocations: 104 kB / 3.744 GB, free: 184.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/7.965, allocations: 0.9676 MB / 3.745 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/7.965, allocations: 4 kB / 3.745 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/7.965, allocations: 28 kB / 3.745 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/7.965, allocations: 20 kB / 3.745 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/7.967, allocations: 0.8326 MB / 3.746 GB, free: 183 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.009963/7.977, allocations: 5.054 MB / 3.751 GB, free: 177.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/7.978, allocations: 0.7317 MB / 3.752 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/7.979, allocations: 374.8 kB / 3.752 GB, free: 176.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/7.979, allocations: 287.7 kB / 3.753 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/7.979, allocations: 39 kB / 3.753 GB, free: 176.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 3.777e-06/7.979, allocations: 0 / 3.753 GB, free: 176.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.002501/7.982, allocations: 0.9129 MB / 3.754 GB, free: 175.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/7.982, allocations: 107.2 kB / 3.754 GB, free: 175.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/7.985, allocations: 1.566 MB / 3.755 GB, free: 173.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002487/7.985, allocations: 49.7 kB / 3.755 GB, free: 173.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/7.986, allocations: 0.5932 MB / 3.756 GB, free: 172.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/7.986, allocations: 173.5 kB / 3.756 GB, free: 172.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/7.986, allocations: 20 kB / 3.756 GB, free: 172.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000124/7.986, allocations: 345.9 kB / 3.756 GB, free: 172.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/7.987, allocations: 0.7906 MB / 3.757 GB, free: 171.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/7.989, allocations: 1.166 MB / 3.758 GB, free: 170.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/7.99, allocations: 0.7067 MB / 3.759 GB, free: 169.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/7.99, allocations: 4 kB / 3.759 GB, free: 169.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003228/7.993, allocations: 1.936 MB / 3.761 GB, free: 167.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000398/7.993, allocations: 1.867 MB / 3.763 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/7.993, allocations: 4 kB / 3.763 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/7.994, allocations: 144.6 kB / 3.763 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/7.995, allocations: 215.7 kB / 3.763 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008982/7.996, allocations: 1.333 MB / 3.764 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/7.998, allocations: 238.6 kB / 3.764 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/7.998, allocations: 71.97 kB / 3.765 GB, free: 163.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/7.998, allocations: 0 / 3.765 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002453/8.001, allocations: 1.681 MB / 3.766 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/8.001, allocations: 4 kB / 3.766 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/8.001, allocations: 8 kB / 3.766 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/8.002, allocations: 252.2 kB / 3.766 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/8.002, allocations: 11.94 kB / 3.766 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/8.004, allocations: 214.9 kB / 3.767 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/8.004, allocations: 67.97 kB / 3.767 GB, free: 161.4 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003527/8.004, allocations: 172.7 kB / 3.767 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/8.005, allocations: 130.3 kB / 3.767 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/8.007, allocations: 1.068 MB / 3.768 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/8.007, allocations: 12.14 kB / 3.768 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/8.007, allocations: 4 kB / 3.768 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/8.007, allocations: 7.969 kB / 3.768 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/8.011, allocations: 2.355 MB / 3.77 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/8.011, allocations: 4 kB / 3.77 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/8.012, allocations: 132 kB / 3.771 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005963/8.012, allocations: 140.8 kB / 3.771 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/8.012, allocations: 23.88 kB / 3.771 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/8.013, allocations: 1.314 MB / 3.772 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/8.013, allocations: 0 / 3.772 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/8.016, allocations: 1.707 MB / 3.774 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/8.017, allocations: 379.1 kB / 3.774 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/8.017, allocations: 19.94 kB / 3.774 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/8.019, allocations: 111.9 kB / 3.774 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/8.019, allocations: 36.38 kB / 3.774 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/8.019, allocations: 51.88 kB / 3.774 GB, free: 153.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001938/8.021, allocations: 1.202 MB / 3.775 GB, free: 152.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/8.021, allocations: 0 / 3.775 GB, free: 152.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003529/8.024, allocations: 0.9012 MB / 3.776 GB, free: 151.3 MB / 1.167 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 () * 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.005486/8.03, allocations: 4.231 MB / 3.78 GB, free: 147 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004236/8.034, allocations: 2.422 MB / 3.783 GB, free: 144.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/8.034, allocations: 0 / 3.783 GB, free: 144.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/8.035, allocations: 382.3 kB / 3.783 GB, free: 144.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/8.037, allocations: 435.4 kB / 3.784 GB, free: 143.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/8.042, allocations: 2.001 MB / 3.785 GB, free: 141.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/8.043, allocations: 1.194 MB / 3.787 GB, free: 140.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003163/8.046, allocations: 0.634 MB / 3.787 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/8.047, allocations: 479.3 kB / 3.788 GB, free: 139.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/8.047, allocations: 0 / 3.788 GB, free: 139.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/8.152, allocations: 70.12 MB / 3.856 GB, free: 69.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/8.152, allocations: 239 kB / 3.856 GB, free: 69.29 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.34/12.49, allocations: 0 / 3.856 GB, free: 69.29 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat does not exist to compare? outputFormat=mat