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.586/2.586, allocations: 390.5 MB / 398 MB, free: 11 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.001359/0.001359, allocations: 184.9 kB / 491.2 MB, free: 1.629 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.676/1.676, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0008877/0.0008876, allocations: 95.83 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.945e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.459/5.753, allocations: 1.927 GB / 3.14 GB, free: 339.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/5.753, allocations: 95.25 kB / 3.14 GB, free: 339.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.977/7.73, allocations: 0.5867 GB / 3.727 GB, free: 197.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.953e-06/7.73, allocations: 4 kB / 3.727 GB, free: 197.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001972/7.731, allocations: 31.75 kB / 3.727 GB, free: 197.3 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.005366/7.736, allocations: 1.725 MB / 3.728 GB, free: 195.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/7.736, allocations: 15.97 kB / 3.728 GB, free: 195.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/7.739, allocations: 289.8 kB / 3.729 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/7.743, allocations: 1.338 MB / 3.73 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/7.743, allocations: 20 kB / 3.73 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/7.743, allocations: 60 kB / 3.73 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001629/7.745, allocations: 0.773 MB / 3.731 GB, free: 193 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/7.746, allocations: 0.8777 MB / 3.732 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/7.746, allocations: 3.938 kB / 3.732 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/7.746, allocations: 4 kB / 3.732 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/7.747, allocations: 16 kB / 3.732 GB, free: 192.1 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.008643/7.755, allocations: 4.881 MB / 3.736 GB, free: 187 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/7.757, allocations: 0.7816 MB / 3.737 GB, free: 186.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/7.757, allocations: 366 kB / 3.737 GB, free: 185.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/7.758, allocations: 279.7 kB / 3.738 GB, free: 185.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/7.758, allocations: 43 kB / 3.738 GB, free: 185.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 2.705e-06/7.758, allocations: 0 / 3.738 GB, free: 185.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.003099/7.761, allocations: 1.027 MB / 3.739 GB, free: 184.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/7.761, allocations: 115.2 kB / 3.739 GB, free: 184.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/7.764, allocations: 1.382 MB / 3.74 GB, free: 182.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003271/7.764, allocations: 29.7 kB / 3.74 GB, free: 182.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/7.764, allocations: 0.5835 MB / 3.741 GB, free: 182.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/7.765, allocations: 169.5 kB / 3.741 GB, free: 182.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/7.765, allocations: 0 / 3.741 GB, free: 182.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/7.765, allocations: 341.9 kB / 3.741 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/7.766, allocations: 0.7834 MB / 3.742 GB, free: 181 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/7.767, allocations: 1.151 MB / 3.743 GB, free: 179.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/7.769, allocations: 0.83 MB / 3.744 GB, free: 178.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/7.769, allocations: 0 / 3.744 GB, free: 178.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004241/7.773, allocations: 2.006 MB / 3.746 GB, free: 176.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/7.774, allocations: 1.847 MB / 3.748 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/7.774, allocations: 8 kB / 3.748 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/7.774, allocations: 128.8 kB / 3.748 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/7.776, allocations: 227.6 kB / 3.748 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/7.777, allocations: 1.365 MB / 3.749 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/7.779, allocations: 203 kB / 3.75 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/7.779, allocations: 63.98 kB / 3.75 GB, free: 172.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/7.779, allocations: 4 kB / 3.75 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003217/7.782, allocations: 1.74 MB / 3.751 GB, free: 171.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/7.782, allocations: 7.953 kB / 3.751 GB, free: 171.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/7.783, allocations: 15.94 kB / 3.751 GB, free: 171.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/7.784, allocations: 244.2 kB / 3.752 GB, free: 170.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/7.784, allocations: 12 kB / 3.752 GB, free: 170.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/7.786, allocations: 183 kB / 3.752 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/7.786, allocations: 63.98 kB / 3.752 GB, free: 170.6 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real 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.0004233/7.786, allocations: 140.7 kB / 3.752 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002554/7.789, allocations: 0.9909 MB / 3.753 GB, free: 169.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/7.79, allocations: 118.4 kB / 3.753 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/7.792, allocations: 1.149 MB / 3.754 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/7.792, allocations: 7.953 kB / 3.754 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/7.792, allocations: 0 / 3.754 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/7.792, allocations: 7.922 kB / 3.754 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/7.797, allocations: 2.379 MB / 3.757 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/7.797, allocations: 4.031 kB / 3.757 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/7.798, allocations: 131.8 kB / 3.757 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/7.798, allocations: 128.8 kB / 3.757 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/7.798, allocations: 15.98 kB / 3.757 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008938/7.799, allocations: 1.341 MB / 3.758 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/7.799, allocations: 4.031 kB / 3.758 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/7.803, allocations: 1.788 MB / 3.76 GB, free: 162.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/7.804, allocations: 379.1 kB / 3.76 GB, free: 161.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005085/7.804, allocations: 0 / 3.76 GB, free: 161.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/7.806, allocations: 103.9 kB / 3.76 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/7.806, allocations: 40.38 kB / 3.76 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/7.806, allocations: 43.98 kB / 3.76 GB, free: 161.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001861/7.808, allocations: 1.041 MB / 3.761 GB, free: 160.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/7.808, allocations: 3.938 kB / 3.761 GB, free: 160.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003743/7.812, allocations: 0.8306 MB / 3.762 GB, free: 159.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.00641/7.818, allocations: 4.512 MB / 3.767 GB, free: 155 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004084/7.822, allocations: 2.359 MB / 3.769 GB, free: 152.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/7.822, allocations: 4.188 kB / 3.769 GB, free: 152.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005813/7.823, allocations: 373.4 kB / 3.769 GB, free: 152.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/7.825, allocations: 321.8 kB / 3.77 GB, free: 152 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/7.83, allocations: 1.917 MB / 3.772 GB, free: 150 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/7.831, allocations: 1.195 MB / 3.773 GB, free: 148.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003132/7.834, allocations: 0.5699 MB / 3.773 GB, free: 148.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/7.835, allocations: 487.3 kB / 3.774 GB, free: 147.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/7.835, allocations: 0 / 3.774 GB, free: 147.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/7.916, allocations: 47.48 MB / 3.82 GB, free: 100.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/7.916, allocations: 184.7 kB / 3.82 GB, free: 100.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.844/11.76, allocations: 0 / 3.82 GB, free: 100.2 MB / 1.151 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