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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.00121/0.001209, allocations: 189 kB / 498.1 MB, free: 5.773 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.514/1.514, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.0009795/0.0009792, allocations: 102.8 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.000455, allocations: 12.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3599, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.881/5.24, allocations: 1.927 GB / 3.15 GB, free: 60.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/5.241, allocations: 103 kB / 3.15 GB, free: 60.01 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.5/7.741, allocations: 0.5945 GB / 3.745 GB, free: 298.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.452e-06/7.741, allocations: 0 / 3.745 GB, free: 298.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001832/7.741, allocations: 28 kB / 3.745 GB, free: 298.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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.007306/7.748, allocations: 2.201 MB / 3.747 GB, free: 297.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/7.748, allocations: 7.5 kB / 3.747 GB, free: 297.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003967/7.749, allocations: 118.5 kB / 3.747 GB, free: 297.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/7.751, allocations: 284.9 kB / 3.747 GB, free: 297.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/7.755, allocations: 1.369 MB / 3.749 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/7.755, allocations: 73.41 kB / 3.749 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004282/7.755, allocations: 96.95 kB / 3.749 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/7.757, allocations: 1.069 MB / 3.75 GB, free: 296.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/7.757, allocations: 10.48 kB / 3.75 GB, free: 296.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/7.757, allocations: 32.84 kB / 3.75 GB, free: 296.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/7.757, allocations: 18.69 kB / 3.75 GB, free: 296.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/7.759, allocations: 1.004 MB / 3.751 GB, free: 296.9 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.007446/7.767, allocations: 5.052 MB / 3.756 GB, free: 294.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/7.768, allocations: 0.8663 MB / 3.757 GB, free: 294.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/7.769, allocations: 283.5 kB / 3.757 GB, free: 294.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/7.769, allocations: 42.8 kB / 3.757 GB, free: 294.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 3.316e-06/7.769, allocations: 0 / 3.757 GB, free: 294.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.005045/7.774, allocations: 1.842 MB / 3.759 GB, free: 294.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/7.774, allocations: 111.1 kB / 3.759 GB, free: 293.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/7.777, allocations: 1.602 MB / 3.76 GB, free: 293.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002754/7.777, allocations: 42.39 kB / 3.761 GB, free: 293.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/7.778, allocations: 0.5922 MB / 3.761 GB, free: 293.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/7.778, allocations: 184.1 kB / 3.761 GB, free: 293.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/7.778, allocations: 17.34 kB / 3.761 GB, free: 293.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/7.778, allocations: 340.2 kB / 3.762 GB, free: 293.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/7.779, allocations: 0.8874 MB / 3.762 GB, free: 293.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/7.781, allocations: 1.267 MB / 3.764 GB, free: 292.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/7.783, allocations: 0.7858 MB / 3.764 GB, free: 292.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/7.783, allocations: 0 / 3.764 GB, free: 292.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004172/7.787, allocations: 2.128 MB / 3.767 GB, free: 292.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003868/7.787, allocations: 1.875 MB / 3.768 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/7.787, allocations: 3.562 kB / 3.768 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/7.788, allocations: 175.5 kB / 3.769 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/7.789, allocations: 222 kB / 3.769 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/7.79, allocations: 1.372 MB / 3.77 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/7.792, allocations: 238.1 kB / 3.77 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/7.793, allocations: 64.3 kB / 3.77 GB, free: 289.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/7.793, allocations: 3.844 kB / 3.77 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003256/7.796, allocations: 1.869 MB / 3.772 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/7.796, allocations: 6.75 kB / 3.772 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/7.796, allocations: 11.03 kB / 3.772 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/7.797, allocations: 249.4 kB / 3.772 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/7.797, allocations: 11.19 kB / 3.773 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/7.799, allocations: 214.4 kB / 3.773 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/7.799, allocations: 67.17 kB / 3.773 GB, free: 289.5 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.0007166/7.8, allocations: 404 kB / 3.773 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/7.8, allocations: 128.9 kB / 3.773 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/7.803, allocations: 1.253 MB / 3.775 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/7.803, allocations: 7.812 kB / 3.775 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/7.803, allocations: 3.797 kB / 3.775 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/7.803, allocations: 0 / 3.775 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/7.808, allocations: 2.539 MB / 3.777 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/7.808, allocations: 3.812 kB / 3.777 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/7.809, allocations: 130 kB / 3.777 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007023/7.809, allocations: 181 kB / 3.777 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/7.809, allocations: 21.89 kB / 3.777 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008391/7.81, allocations: 1.363 MB / 3.779 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/7.81, allocations: 7.516 kB / 3.779 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/7.814, allocations: 1.957 MB / 3.781 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/7.814, allocations: 384.7 kB / 3.781 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/7.815, allocations: 14.12 kB / 3.781 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/7.816, allocations: 108.9 kB / 3.781 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/7.816, allocations: 43.84 kB / 3.781 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/7.816, allocations: 43.64 kB / 3.781 GB, free: 287.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001769/7.818, allocations: 1.24 MB / 3.782 GB, free: 286.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.82e-07/7.818, allocations: 0 / 3.782 GB, free: 286.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002805/7.821, allocations: 0.8959 MB / 3.783 GB, free: 286.9 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.005504/7.827, allocations: 4.498 MB / 3.788 GB, free: 285.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004502/7.831, allocations: 2.643 MB / 3.79 GB, free: 285 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/7.831, allocations: 0 / 3.79 GB, free: 285 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008365/7.832, allocations: 476.3 kB / 3.791 GB, free: 285 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/7.834, allocations: 441.8 kB / 3.791 GB, free: 285 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/7.839, allocations: 6.626 MB / 3.798 GB, free: 280.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/7.839, allocations: 1.187 MB / 3.799 GB, free: 279.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001661/7.841, allocations: 436.6 kB / 3.799 GB, free: 279.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/7.841, allocations: 0.5104 MB / 3.8 GB, free: 279.4 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/7.841, allocations: 0 / 3.8 GB, free: 279.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09124/7.933, allocations: 63.8 MB / 3.862 GB, free: 249.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/7.933, allocations: 266.7 kB / 3.862 GB, free: 249.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/11.81, allocations: 0 / 3.862 GB, free: 249.2 MB / 1.167 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