Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",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.221/2.221, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001155/0.001155, allocations: 178.7 kB / 498.1 MB, free: 5.73 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.479/1.479, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0009564/0.0009565, allocations: 98.52 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.000385, allocations: 9.344 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2769, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.767/4.044, allocations: 1.945 GB / 3.168 GB, free: 3.195 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/4.044, allocations: 92.95 kB / 3.168 GB, free: 3.148 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.537/9.581, allocations: 1.556 GB / 4.724 GB, free: 164 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.633e-06/9.581, allocations: 3 kB / 4.724 GB, free: 164 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003899/9.582, allocations: 56.64 kB / 4.724 GB, free: 164 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01079/9.592, allocations: 3.448 MB / 4.727 GB, free: 162.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/9.593, allocations: 11.44 kB / 4.727 GB, free: 162.8 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007013/9.593, allocations: 206.4 kB / 4.728 GB, free: 162.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00707/9.6, allocations: 0.9987 MB / 4.729 GB, free: 162.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009025/9.609, allocations: 3.121 MB / 4.732 GB, free: 162 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/9.61, allocations: 118.2 kB / 4.732 GB, free: 162 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005633/9.61, allocations: 150.6 kB / 4.732 GB, free: 162 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/9.614, allocations: 1.745 MB / 4.734 GB, free: 161.8 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/9.614, allocations: 0 / 4.734 GB, free: 161.8 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/9.615, allocations: 55.81 kB / 4.734 GB, free: 161.8 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/9.615, allocations: 57.19 kB / 4.734 GB, free: 161.8 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/9.618, allocations: 1.424 MB / 4.735 GB, free: 161.8 MB / 1.182 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.01162/9.63, allocations: 7.767 MB / 4.743 GB, free: 158 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/9.633, allocations: 1.293 MB / 4.744 GB, free: 157.8 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/9.633, allocations: 116.7 kB / 4.744 GB, free: 157.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/9.633, allocations: 45.69 kB / 4.744 GB, free: 157.7 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001187/9.634, allocations: 157.7 kB / 4.744 GB, free: 157.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=85): time 6.342e-06/9.634, allocations: 0 / 4.744 GB, free: 157.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=85): time 0.006423/9.641, allocations: 2.247 MB / 4.747 GB, free: 157.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/9.641, allocations: 71.61 kB / 4.747 GB, free: 157.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/9.643, allocations: 1.591 MB / 4.748 GB, free: 156.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/9.644, allocations: 50.89 kB / 4.748 GB, free: 156.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006929/9.644, allocations: 1.002 MB / 4.749 GB, free: 156.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/9.644, allocations: 296.1 kB / 4.749 GB, free: 156.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/9.645, allocations: 24.09 kB / 4.749 GB, free: 156.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/9.645, allocations: 349.8 kB / 4.75 GB, free: 156.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/9.646, allocations: 460.3 kB / 4.75 GB, free: 156.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/9.647, allocations: 0.9007 MB / 4.751 GB, free: 155.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/9.648, allocations: 0.567 MB / 4.752 GB, free: 155.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/9.648, allocations: 3.188 kB / 4.752 GB, free: 155.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003983/9.652, allocations: 1.69 MB / 4.753 GB, free: 155.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007344/9.653, allocations: 3.983 MB / 4.757 GB, free: 151.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/9.653, allocations: 10.19 kB / 4.757 GB, free: 151.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/9.654, allocations: 279.8 kB / 4.757 GB, free: 151 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/9.655, allocations: 262.3 kB / 4.758 GB, free: 151 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/9.658, allocations: 3.678 MB / 4.761 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/9.66, allocations: 159.1 kB / 4.761 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/9.66, allocations: 76.77 kB / 4.762 GB, free: 148.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/9.66, allocations: 4.469 kB / 4.762 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003712/9.664, allocations: 1.543 MB / 4.763 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/9.664, allocations: 7.188 kB / 4.763 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/9.665, allocations: 339 kB / 4.763 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/9.666, allocations: 246.3 kB / 4.764 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/9.672, allocations: 5.279 MB / 4.769 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/9.675, allocations: 154 kB / 4.769 GB, free: 144.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/9.675, allocations: 65.72 kB / 4.769 GB, free: 144.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001493/9.676, allocations: 0.6003 MB / 4.77 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/9.677, allocations: 210.8 kB / 4.77 GB, free: 144 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/9.681, allocations: 1.556 MB / 4.771 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/9.681, allocations: 11.61 kB / 4.771 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/9.681, allocations: 3.312 kB / 4.771 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003117/9.684, allocations: 1.334 MB / 4.773 GB, free: 143.6 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.007921/9.692, allocations: 3.373 MB / 4.776 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/9.692, allocations: 3.812 kB / 4.776 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/9.693, allocations: 198.6 kB / 4.776 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008009/9.694, allocations: 269 kB / 4.776 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/9.694, allocations: 29.42 kB / 4.776 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/9.697, allocations: 3.543 MB / 4.78 GB, free: 140.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/9.697, allocations: 0 / 4.78 GB, free: 140.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004724/9.702, allocations: 2.259 MB / 4.782 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/9.703, allocations: 380.2 kB / 4.782 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/9.703, allocations: 16.66 kB / 4.782 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/9.705, allocations: 138.7 kB / 4.783 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/9.705, allocations: 56.98 kB / 4.783 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/9.705, allocations: 43 kB / 4.783 GB, free: 139.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002656/9.708, allocations: 1.24 MB / 4.784 GB, free: 139.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.7e-07/9.708, allocations: 0 / 4.784 GB, free: 139.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006043/9.714, allocations: 1.554 MB / 4.785 GB, free: 139 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (71): * Single equations (assignments): 67 * 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: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01111/9.725, allocations: 7.477 MB / 4.793 GB, free: 135.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005164/9.73, allocations: 2.31 MB / 4.795 GB, free: 135.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/9.731, allocations: 0 / 4.795 GB, free: 135.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/9.732, allocations: 0.6939 MB / 4.796 GB, free: 134.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/9.737, allocations: 1.042 MB / 4.797 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/9.748, allocations: 12.16 MB / 4.809 GB, free: 124.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/9.75, allocations: 1.657 MB / 4.81 GB, free: 124.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002485/9.752, allocations: 0.5078 MB / 4.811 GB, free: 124 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/9.753, allocations: 0.871 MB / 4.811 GB, free: 123.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.233e-06/9.753, allocations: 3.938 kB / 4.811 GB, free: 123.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/9.893, allocations: 112.5 MB / 4.921 GB, free: 21.84 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/9.893, allocations: 261.7 kB / 4.922 GB, free: 21.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.779/15.67, allocations: 0 / 4.922 GB, free: 21.5 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat does not exist to compare? outputFormat=mat