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.26/2.26, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001524/0.001524, allocations: 175.1 kB / 492.3 MB, free: 0.6016 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.58/1.58, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009958/0.0009955, allocations: 97.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.747e-05/4.797e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.854/6.153, allocations: 1.927 GB / 3.14 GB, free: 402.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/6.153, allocations: 103.2 kB / 3.14 GB, free: 402.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.145/8.298, allocations: 0.594 GB / 3.734 GB, free: 232.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.395e-06/8.298, allocations: 4 kB / 3.734 GB, free: 232.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002152/8.298, allocations: 31.98 kB / 3.734 GB, free: 232.1 MB / 1.151 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.006153/8.304, allocations: 1.721 MB / 3.735 GB, free: 230.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/8.305, allocations: 12.03 kB / 3.735 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004295/8.305, allocations: 118.4 kB / 3.736 GB, free: 230.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/8.308, allocations: 299.3 kB / 3.736 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/8.312, allocations: 1.34 MB / 3.737 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/8.312, allocations: 66 kB / 3.737 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/8.312, allocations: 96 kB / 3.737 GB, free: 228.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/8.314, allocations: 0.9792 MB / 3.738 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/8.314, allocations: 3.938 kB / 3.738 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/8.314, allocations: 35.98 kB / 3.738 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/8.314, allocations: 16 kB / 3.738 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/8.316, allocations: 0.8326 MB / 3.739 GB, free: 226.4 MB / 1.151 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.008877/8.325, allocations: 5.045 MB / 3.744 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/8.326, allocations: 0.7424 MB / 3.745 GB, free: 220.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/8.327, allocations: 378.5 kB / 3.745 GB, free: 220 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/8.327, allocations: 280.6 kB / 3.745 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/8.327, allocations: 39 kB / 3.745 GB, free: 219.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 4.419e-06/8.327, allocations: 0 / 3.745 GB, free: 219.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.002485/8.329, allocations: 0.9051 MB / 3.746 GB, free: 218.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/8.33, allocations: 119.2 kB / 3.746 GB, free: 218.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/8.332, allocations: 1.566 MB / 3.748 GB, free: 217 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/8.333, allocations: 45.7 kB / 3.748 GB, free: 216.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006849/8.333, allocations: 0.5883 MB / 3.749 GB, free: 216.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/8.334, allocations: 169.5 kB / 3.749 GB, free: 216.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/8.334, allocations: 16 kB / 3.749 GB, free: 216.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001191/8.334, allocations: 345.9 kB / 3.749 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/8.335, allocations: 0.7906 MB / 3.75 GB, free: 215 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/8.337, allocations: 1.178 MB / 3.751 GB, free: 213.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/8.338, allocations: 0.7028 MB / 3.752 GB, free: 213 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/8.338, allocations: 3.938 kB / 3.752 GB, free: 213 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003691/8.341, allocations: 1.936 MB / 3.754 GB, free: 211 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004872/8.342, allocations: 1.867 MB / 3.755 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/8.342, allocations: 4 kB / 3.755 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/8.343, allocations: 136.8 kB / 3.756 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/8.344, allocations: 219.6 kB / 3.756 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009853/8.345, allocations: 1.326 MB / 3.757 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/8.347, allocations: 246.6 kB / 3.757 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/8.347, allocations: 63.98 kB / 3.757 GB, free: 207 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/8.347, allocations: 4 kB / 3.757 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002508/8.35, allocations: 1.693 MB / 3.759 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/8.35, allocations: 4 kB / 3.759 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/8.35, allocations: 15.95 kB / 3.759 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/8.351, allocations: 244.2 kB / 3.759 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/8.351, allocations: 11.98 kB / 3.759 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/8.353, allocations: 210.9 kB / 3.76 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/8.354, allocations: 67.98 kB / 3.76 GB, free: 204.8 MB / 1.151 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.0003791/8.354, allocations: 174.1 kB / 3.76 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/8.355, allocations: 126.3 kB / 3.76 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/8.357, allocations: 1.079 MB / 3.761 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/8.357, allocations: 8 kB / 3.761 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/8.357, allocations: 0 / 3.761 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/8.357, allocations: 0 / 3.761 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/8.362, allocations: 2.37 MB / 3.763 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/8.362, allocations: 0 / 3.763 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/8.362, allocations: 132.1 kB / 3.763 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/8.363, allocations: 136.7 kB / 3.763 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/8.363, allocations: 27.98 kB / 3.764 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007722/8.364, allocations: 1.318 MB / 3.765 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/8.364, allocations: 4.031 kB / 3.765 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/8.366, allocations: 1.695 MB / 3.766 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/8.367, allocations: 391.1 kB / 3.767 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/8.368, allocations: 11.95 kB / 3.767 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/8.369, allocations: 107.9 kB / 3.767 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/8.369, allocations: 44.38 kB / 3.767 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/8.37, allocations: 39.98 kB / 3.767 GB, free: 196.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002008/8.372, allocations: 1.206 MB / 3.768 GB, free: 195.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.62e-07/8.372, allocations: 0 / 3.768 GB, free: 195.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004016/8.376, allocations: 0.8933 MB / 3.769 GB, free: 194.7 MB / 1.151 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.005893/8.381, allocations: 4.248 MB / 3.773 GB, free: 190.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004275/8.386, allocations: 2.422 MB / 3.776 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/8.386, allocations: 0 / 3.776 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/8.386, allocations: 383.8 kB / 3.776 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/8.389, allocations: 447 kB / 3.776 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/8.394, allocations: 1.982 MB / 3.778 GB, free: 185.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/8.395, allocations: 1.198 MB / 3.779 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003318/8.398, allocations: 0.6379 MB / 3.78 GB, free: 183.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008605/8.399, allocations: 483.3 kB / 3.781 GB, free: 182.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.745e-06/8.399, allocations: 0 / 3.781 GB, free: 182.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/8.523, allocations: 70.1 MB / 3.849 GB, free: 113 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/8.523, allocations: 245.2 kB / 3.849 GB, free: 112.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.859/13.38, allocations: 0 / 3.849 GB, free: 112.7 MB / 1.151 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