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.518/2.518, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001664/0.001664, allocations: 180 kB / 0.4901 GB, free: 2.242 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.615/1.615, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001049/0.001049, allocations: 95.14 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 9.953 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.079/5.396, allocations: 1.928 GB / 3.157 GB, free: 3.52 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/5.396, allocations: 101 kB / 3.157 GB, free: 3.465 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.659/8.055, allocations: 0.5945 GB / 3.752 GB, free: 303.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.994e-06/8.055, allocations: 0 / 3.752 GB, free: 303.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001073/8.055, allocations: 35.23 kB / 3.752 GB, free: 303.8 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.006126/8.062, allocations: 2.188 MB / 3.754 GB, free: 302.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/8.062, allocations: 7.625 kB / 3.754 GB, free: 302.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/8.062, allocations: 113.3 kB / 3.754 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/8.064, allocations: 295.1 kB / 3.754 GB, free: 302.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/8.066, allocations: 1.372 MB / 3.756 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/8.066, allocations: 74.45 kB / 3.756 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/8.067, allocations: 95.38 kB / 3.756 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/8.068, allocations: 1.064 MB / 3.757 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/8.068, allocations: 3.75 kB / 3.757 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/8.068, allocations: 35.41 kB / 3.757 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/8.068, allocations: 22.28 kB / 3.757 GB, free: 301.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/8.07, allocations: 1.005 MB / 3.758 GB, free: 301.3 MB / 1.167 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.006985/8.077, allocations: 5.055 MB / 3.763 GB, free: 298.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/8.079, allocations: 0.8615 MB / 3.764 GB, free: 297.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/8.079, allocations: 282.9 kB / 3.764 GB, free: 297.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/8.079, allocations: 41.98 kB / 3.764 GB, free: 297.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 3.627e-06/8.079, allocations: 0 / 3.764 GB, free: 297.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.005132/8.084, allocations: 1.846 MB / 3.766 GB, free: 297 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/8.084, allocations: 109.8 kB / 3.766 GB, free: 296.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/8.087, allocations: 1.6 MB / 3.768 GB, free: 296.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/8.087, allocations: 51.23 kB / 3.768 GB, free: 296.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/8.087, allocations: 0.5935 MB / 3.768 GB, free: 295.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/8.088, allocations: 172.2 kB / 3.768 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/8.088, allocations: 15.84 kB / 3.768 GB, free: 295.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/8.088, allocations: 345.3 kB / 3.769 GB, free: 295.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/8.089, allocations: 0.8853 MB / 3.77 GB, free: 295 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/8.091, allocations: 1.256 MB / 3.771 GB, free: 294.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/8.092, allocations: 0.7894 MB / 3.772 GB, free: 293.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/8.093, allocations: 0 / 3.772 GB, free: 293.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004228/8.097, allocations: 2.137 MB / 3.774 GB, free: 292.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004299/8.097, allocations: 1.871 MB / 3.776 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/8.097, allocations: 7.641 kB / 3.776 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/8.098, allocations: 164.4 kB / 3.776 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/8.099, allocations: 227.8 kB / 3.776 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/8.1, allocations: 1.373 MB / 3.777 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/8.103, allocations: 239.8 kB / 3.777 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/8.103, allocations: 65.44 kB / 3.778 GB, free: 289.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/8.103, allocations: 4.875 kB / 3.778 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/8.106, allocations: 1.861 MB / 3.779 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/8.106, allocations: 11.2 kB / 3.779 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/8.106, allocations: 10.81 kB / 3.779 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/8.107, allocations: 243.6 kB / 3.78 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/8.107, allocations: 14.03 kB / 3.78 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/8.11, allocations: 214.1 kB / 3.78 GB, free: 288.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/8.11, allocations: 68.48 kB / 3.78 GB, free: 288.1 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 () * Number of clocked 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.0008109/8.111, allocations: 408 kB / 3.78 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/8.111, allocations: 127.5 kB / 3.78 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/8.113, allocations: 1.252 MB / 3.782 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/8.113, allocations: 7.625 kB / 3.782 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/8.113, allocations: 0 / 3.782 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/8.113, allocations: 3.984 kB / 3.782 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/8.118, allocations: 2.545 MB / 3.784 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/8.118, allocations: 0 / 3.784 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/8.118, allocations: 130.8 kB / 3.784 GB, free: 284.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007432/8.119, allocations: 175.5 kB / 3.784 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/8.119, allocations: 23.98 kB / 3.784 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008894/8.12, allocations: 1.365 MB / 3.786 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/8.12, allocations: 4 kB / 3.786 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/8.123, allocations: 1.956 MB / 3.788 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/8.125, allocations: 387 kB / 3.788 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/8.125, allocations: 15.98 kB / 3.788 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/8.126, allocations: 107.1 kB / 3.788 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/8.126, allocations: 56.02 kB / 3.788 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/8.126, allocations: 39.98 kB / 3.788 GB, free: 280.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001993/8.128, allocations: 1.239 MB / 3.789 GB, free: 279 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.128, allocations: 0 / 3.789 GB, free: 279 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004901/8.133, allocations: 0.8852 MB / 3.79 GB, free: 278.1 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 () * 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.007491/8.141, allocations: 4.49 MB / 3.795 GB, free: 274 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005242/8.146, allocations: 2.636 MB / 3.797 GB, free: 271.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/8.146, allocations: 2.438 kB / 3.797 GB, free: 271.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/8.147, allocations: 476.2 kB / 3.798 GB, free: 270.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/8.15, allocations: 444.7 kB / 3.798 GB, free: 270.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/8.155, allocations: 6.632 MB / 3.805 GB, free: 263.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/8.156, allocations: 1.188 MB / 3.806 GB, free: 262.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002074/8.158, allocations: 431.9 kB / 3.806 GB, free: 262.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/8.159, allocations: 0.5083 MB / 3.807 GB, free: 261.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.002e-06/8.159, allocations: 0 / 3.807 GB, free: 261.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09111/8.25, allocations: 63.81 MB / 3.869 GB, free: 199 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/8.25, allocations: 268 kB / 3.869 GB, free: 198.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/12.18, allocations: 0 / 3.869 GB, free: 198.7 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