Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.212/2.212, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001054/0.001053, allocations: 180.9 kB / 487.4 MB, free: 5.035 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.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009526, allocations: 103.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.985e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.578, allocations: 1.95 GB / 3.156 GB, free: 401 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/4.578, allocations: 92.7 kB / 3.156 GB, free: 400.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.53/21.11, allocations: 4.374 GB / 7.529 GB, free: 110.2 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.314e-06/21.11, allocations: 2.781 kB / 7.529 GB, free: 110.2 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.001165/21.11, allocations: 153.4 kB / 7.53 GB, free: 110.1 MB / 1.292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.02244/21.13, allocations: 5.961 MB / 7.535 GB, free: 107.1 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/21.13, allocations: 11.44 kB / 7.535 GB, free: 107.1 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/21.15, allocations: 2.006 MB / 7.537 GB, free: 106.8 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02982/21.18, allocations: 11.18 MB / 7.548 GB, free: 105.5 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/21.18, allocations: 105 kB / 7.548 GB, free: 105.5 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/21.18, allocations: 227.9 kB / 7.549 GB, free: 105.5 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01006/21.19, allocations: 3.518 MB / 7.552 GB, free: 105.5 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/21.21, allocations: 3.731 MB / 7.556 GB, free: 105.1 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/21.21, allocations: 6.578 kB / 7.556 GB, free: 105.1 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007605/21.21, allocations: 3.438 kB / 7.556 GB, free: 105.1 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/21.21, allocations: 121.8 kB / 7.556 GB, free: 105.1 MB / 1.292 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.03638/21.24, allocations: 19.78 MB / 7.575 GB, free: 93.08 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/21.25, allocations: 3.832 MB / 7.579 GB, free: 91.32 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/21.25, allocations: 1.731 MB / 7.581 GB, free: 90.67 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000398/21.25, allocations: 232.3 kB / 7.581 GB, free: 90.48 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002436/21.25, allocations: 1.746 MB / 7.582 GB, free: 89.84 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003569/21.26, allocations: 280.4 kB / 7.583 GB, free: 89.73 MB / 1.292 GB Notification: Performance of pre-optimization done (n=211): time 8.025e-06/21.26, allocations: 0 / 7.583 GB, free: 89.73 MB / 1.292 GB Notification: Performance of matching and sorting (n=211): time 0.008452/21.27, allocations: 3.845 MB / 7.587 GB, free: 88.29 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/21.27, allocations: 74.38 kB / 7.587 GB, free: 88.22 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01743/21.28, allocations: 5.831 MB / 7.592 GB, free: 85.85 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/21.28, allocations: 29.02 kB / 7.592 GB, free: 85.82 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004131/21.29, allocations: 2.779 MB / 7.595 GB, free: 83.64 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/21.29, allocations: 0.7004 MB / 7.596 GB, free: 83.09 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008284/21.29, allocations: 0 / 7.596 GB, free: 83.09 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0004861/21.29, allocations: 436.6 kB / 7.596 GB, free: 82.72 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/21.3, allocations: 1.582 MB / 7.598 GB, free: 82.09 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/21.3, allocations: 2.762 MB / 7.6 GB, free: 79.94 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/21.3, allocations: 2.003 MB / 7.602 GB, free: 78.97 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.11e-05/21.3, allocations: 8 kB / 7.602 GB, free: 78.96 MB / 1.292 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01124/21.31, allocations: 4.986 MB / 7.607 GB, free: 74.46 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003338/21.32, allocations: 14.62 MB / 7.621 GB, free: 58.77 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.574e-05/21.32, allocations: 32 kB / 7.622 GB, free: 58.74 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/21.32, allocations: 437.1 kB / 7.622 GB, free: 58.38 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/21.32, allocations: 0.7997 MB / 7.623 GB, free: 57.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/21.33, allocations: 4.49 MB / 7.627 GB, free: 53.38 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006867/21.33, allocations: 354.2 kB / 7.627 GB, free: 53.12 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/21.33, allocations: 266.8 kB / 7.628 GB, free: 52.88 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/21.33, allocations: 6.188 kB / 7.628 GB, free: 52.87 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009454/21.34, allocations: 3.841 MB / 7.631 GB, free: 49.43 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.664e-05/21.34, allocations: 35.95 kB / 7.631 GB, free: 49.4 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/21.35, allocations: 0.5251 MB / 7.632 GB, free: 48.96 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/21.35, allocations: 0.7818 MB / 7.633 GB, free: 48.29 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009277/21.36, allocations: 6.977 MB / 7.64 GB, free: 41.82 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006689/21.36, allocations: 339.7 kB / 7.64 GB, free: 41.57 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/21.37, allocations: 223.7 kB / 7.64 GB, free: 41.36 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 345 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002047/21.37, allocations: 212.5 kB / 7.64 GB, free: 41.14 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008111/21.38, allocations: 2.889 MB / 7.643 GB, free: 38.51 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002247/21.38, allocations: 0.5321 MB / 7.644 GB, free: 37.97 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/21.39, allocations: 3.197 MB / 7.647 GB, free: 35.26 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/21.39, allocations: 23.7 kB / 7.647 GB, free: 35.24 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/21.39, allocations: 7.703 kB / 7.647 GB, free: 35.23 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/21.39, allocations: 2.726 MB / 7.649 GB, free: 32.7 MB / 1.292 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.02201/21.41, allocations: 8.727 MB / 7.658 GB, free: 24.66 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/21.41, allocations: 7.938 kB / 7.658 GB, free: 24.66 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002957/21.42, allocations: 0.5808 MB / 7.659 GB, free: 24.08 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/21.42, allocations: 176.5 kB / 7.659 GB, free: 23.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/21.42, allocations: 47.95 kB / 7.659 GB, free: 23.86 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/21.42, allocations: 3.346 MB / 7.662 GB, free: 20.39 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/21.42, allocations: 7.938 kB / 7.662 GB, free: 20.38 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/21.42, allocations: 5.031 MB / 7.667 GB, free: 15.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/21.43, allocations: 1.212 MB / 7.668 GB, free: 13.96 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/21.43, allocations: 23.98 kB / 7.668 GB, free: 13.94 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004981/21.44, allocations: 303.3 kB / 7.668 GB, free: 13.64 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/21.44, allocations: 145.9 kB / 7.669 GB, free: 13.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/21.44, allocations: 107.9 kB / 7.669 GB, free: 13.4 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.01071/21.45, allocations: 4.362 MB / 7.673 GB, free: 9.047 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.51e-07/21.45, allocations: 0 / 7.673 GB, free: 9.047 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01465/21.46, allocations: 3.22 MB / 7.676 GB, free: 5.82 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (fan1.vol.dynBal.medium.Xi[1],fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.medium.Xi[1],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.medium.Xi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.medium.Xi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.filter.s[1],fan4.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02796/21.49, allocations: 17.2 MB / 7.693 GB, free: 4.574 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01423/21.5, allocations: 6.209 MB / 7.699 GB, free: 14.33 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/21.5, allocations: 4.062 kB / 7.699 GB, free: 14.33 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.003106/21.51, allocations: 1.315 MB / 7.7 GB, free: 13.02 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01668/21.52, allocations: 2.989 MB / 7.703 GB, free: 10.13 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.07/22.59, allocations: 10.28 MB / 7.713 GB, free: 146.3 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007758/22.6, allocations: 3.582 MB / 7.717 GB, free: 145.5 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.01553/22.62, allocations: 2.911 MB / 7.72 GB, free: 145.5 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004809/22.62, allocations: 2.57 MB / 7.722 GB, free: 145.5 MB / 1.323 GB Notification: Performance of SimCode: time 1.222e-06/22.62, allocations: 0 / 7.722 GB, free: 145.5 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3951/23.02, allocations: 216.2 MB / 7.933 GB, free: 136.4 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/23.02, allocations: 192 kB / 7.933 GB, free: 136.2 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/34.28, allocations: 4 kB / 7.933 GB, free: 136.2 MB / 1.323 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic_res.mat does not exist to compare? outputFormat=mat