Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y",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.321/2.321, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001047/0.001047, allocations: 179 kB / 492.3 MB, free: 0.6133 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.554/1.554, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001074/0.001074, allocations: 95.47 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.843e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2688, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.353/5.622, allocations: 1.945 GB / 3.158 GB, free: 325.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/5.622, allocations: 83.73 kB / 3.158 GB, free: 325.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.16/10.78, allocations: 1.554 GB / 4.712 GB, free: 63.71 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.352e-06/10.78, allocations: 0 / 4.712 GB, free: 63.71 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004054/10.78, allocations: 64.14 kB / 4.712 GB, free: 63.65 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007505/10.79, allocations: 2.581 MB / 4.715 GB, free: 61.02 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/10.79, allocations: 8.031 kB / 4.715 GB, free: 61.01 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006694/10.79, allocations: 206.8 kB / 4.715 GB, free: 60.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007103/10.8, allocations: 0.9997 MB / 4.716 GB, free: 59.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008757/10.81, allocations: 3.097 MB / 4.719 GB, free: 56.62 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/10.81, allocations: 114.4 kB / 4.719 GB, free: 56.52 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000568/10.81, allocations: 159.9 kB / 4.719 GB, free: 56.36 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003929/10.81, allocations: 1.635 MB / 4.721 GB, free: 54.66 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/10.81, allocations: 4 kB / 4.721 GB, free: 54.66 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/10.81, allocations: 56 kB / 4.721 GB, free: 54.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/10.81, allocations: 50.67 kB / 4.721 GB, free: 54.55 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/10.81, allocations: 1.24 MB / 4.722 GB, free: 53.3 MB / 1.167 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.01004/10.82, allocations: 7.765 MB / 4.73 GB, free: 44.97 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/10.83, allocations: 1.154 MB / 4.731 GB, free: 43.76 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/10.83, allocations: 459.6 kB / 4.731 GB, free: 43.31 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/10.83, allocations: 121.8 kB / 4.731 GB, free: 43.17 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/10.83, allocations: 39.34 kB / 4.731 GB, free: 43.12 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001102/10.83, allocations: 155 kB / 4.732 GB, free: 42.97 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 4.368e-06/10.83, allocations: 3.938 kB / 4.732 GB, free: 42.97 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.002382/10.83, allocations: 1.16 MB / 4.733 GB, free: 41.79 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/10.83, allocations: 64.19 kB / 4.733 GB, free: 41.71 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/10.83, allocations: 1.577 MB / 4.734 GB, free: 40.11 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/10.83, allocations: 49.7 kB / 4.734 GB, free: 40.05 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/10.83, allocations: 1.005 MB / 4.735 GB, free: 39.03 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/10.83, allocations: 299.7 kB / 4.736 GB, free: 38.73 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/10.83, allocations: 20 kB / 4.736 GB, free: 38.71 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/10.83, allocations: 353.9 kB / 4.736 GB, free: 38.36 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/10.83, allocations: 374.5 kB / 4.736 GB, free: 38 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/10.83, allocations: 0.8036 MB / 4.737 GB, free: 37 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/10.84, allocations: 488.1 kB / 4.738 GB, free: 36.52 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/10.84, allocations: 4 kB / 4.738 GB, free: 36.52 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002601/10.84, allocations: 1.519 MB / 4.739 GB, free: 34.98 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006506/10.84, allocations: 3.986 MB / 4.743 GB, free: 30.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/10.84, allocations: 12 kB / 4.743 GB, free: 30.57 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/10.84, allocations: 270.3 kB / 4.743 GB, free: 30.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/10.84, allocations: 255.6 kB / 4.743 GB, free: 30.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/10.84, allocations: 3.643 MB / 4.747 GB, free: 26.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/10.85, allocations: 171.6 kB / 4.747 GB, free: 26.04 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/10.85, allocations: 71.97 kB / 4.747 GB, free: 25.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/10.85, allocations: 4 kB / 4.747 GB, free: 25.96 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002778/10.85, allocations: 1.395 MB / 4.749 GB, free: 24.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/10.85, allocations: 8 kB / 4.749 GB, free: 24.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/10.85, allocations: 334.4 kB / 4.749 GB, free: 24.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/10.85, allocations: 231.6 kB / 4.749 GB, free: 23.98 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/10.86, allocations: 5.191 MB / 4.754 GB, free: 18.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/10.86, allocations: 159.8 kB / 4.754 GB, free: 18.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/10.86, allocations: 67.97 kB / 4.754 GB, free: 18.19 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 110 * 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 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003202/10.86, allocations: 173.6 kB / 4.755 GB, free: 18.01 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/10.86, allocations: 209.4 kB / 4.755 GB, free: 17.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/10.86, allocations: 1.375 MB / 4.756 GB, free: 16.41 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/10.86, allocations: 12 kB / 4.756 GB, free: 16.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/10.86, allocations: 0 / 4.756 GB, free: 16.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002082/10.86, allocations: 1.165 MB / 4.757 GB, free: 15.19 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.005342/10.87, allocations: 3.225 MB / 4.76 GB, free: 11.85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/10.87, allocations: 4 kB / 4.76 GB, free: 11.85 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/10.87, allocations: 188 kB / 4.761 GB, free: 11.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007/10.87, allocations: 266.2 kB / 4.761 GB, free: 11.39 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/10.87, allocations: 23.98 kB / 4.761 GB, free: 11.37 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/10.87, allocations: 3.479 MB / 4.764 GB, free: 7.684 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/10.87, allocations: 0 / 4.764 GB, free: 7.684 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/10.88, allocations: 1.989 MB / 4.766 GB, free: 5.609 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008051/10.88, allocations: 382.4 kB / 4.767 GB, free: 5.215 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/10.88, allocations: 19.98 kB / 4.767 GB, free: 5.195 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/10.88, allocations: 139.7 kB / 4.767 GB, free: 5.059 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/10.88, allocations: 60.59 kB / 4.767 GB, free: 5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.851e-05/10.88, allocations: 39.97 kB / 4.767 GB, free: 4.961 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001624/10.88, allocations: 1.224 MB / 4.768 GB, free: 3.715 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/10.88, allocations: 0 / 4.768 GB, free: 3.715 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004461/10.88, allocations: 1.556 MB / 4.77 GB, free: 2.156 MB / 1.167 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 () * 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.01005/10.89, allocations: 7.207 MB / 4.777 GB, free: 10.48 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00437/10.9, allocations: 2.133 MB / 4.779 GB, free: 8.301 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/10.9, allocations: 3.938 kB / 4.779 GB, free: 8.297 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/10.9, allocations: 0.6011 MB / 4.779 GB, free: 7.688 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004846/10.9, allocations: 1.056 MB / 4.78 GB, free: 6.645 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/10.91, allocations: 3.504 MB / 4.784 GB, free: 3.066 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/10.91, allocations: 1.657 MB / 4.785 GB, free: 1.375 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003043/10.92, allocations: 0.7861 MB / 4.786 GB, free: 0.5859 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/10.92, allocations: 0.8274 MB / 4.787 GB, free: 15.75 MB / 1.198 GB Notification: Performance of SimCode: time 2.355e-06/10.92, allocations: 4 kB / 4.787 GB, free: 15.75 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9348/11.85, allocations: 125.4 MB / 4.909 GB, free: 177.5 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/11.85, allocations: 215 kB / 4.91 GB, free: 177.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.174/18.03, allocations: 0 / 4.91 GB, free: 177.3 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat does not exist to compare? outputFormat=mat