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.381/2.381, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0011/0.0011, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.759/1.759, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.001007/0.001008, allocations: 106 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.703e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.309/5.621, allocations: 1.945 GB / 3.151 GB, free: 405.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/5.622, allocations: 88.77 kB / 3.151 GB, free: 405.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.066/10.69, allocations: 1.537 GB / 4.688 GB, free: 143.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.654e-06/10.69, allocations: 0 / 4.688 GB, free: 143.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000243/10.69, allocations: 58.06 kB / 4.688 GB, free: 143.1 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.006861/10.69, allocations: 2.589 MB / 4.691 GB, free: 141.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/10.69, allocations: 7.031 kB / 4.691 GB, free: 141.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007027/10.7, allocations: 1.001 MB / 4.692 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/10.71, allocations: 3.103 MB / 4.695 GB, free: 137.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/10.71, allocations: 51.09 kB / 4.695 GB, free: 137.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/10.71, allocations: 88 kB / 4.695 GB, free: 137.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002051/10.71, allocations: 1.247 MB / 4.696 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/10.71, allocations: 1.437 MB / 4.697 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/10.71, allocations: 6.406 kB / 4.697 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/10.71, allocations: 0 / 4.697 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/10.71, allocations: 54.62 kB / 4.697 GB, free: 134.8 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.00988/10.72, allocations: 7.484 MB / 4.705 GB, free: 126.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/10.73, allocations: 1.229 MB / 4.706 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/10.73, allocations: 494.1 kB / 4.706 GB, free: 125.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/10.73, allocations: 115.1 kB / 4.706 GB, free: 125.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/10.73, allocations: 46.59 kB / 4.706 GB, free: 125 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001226/10.73, allocations: 125.5 kB / 4.707 GB, free: 124.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.105e-06/10.73, allocations: 3.938 kB / 4.707 GB, free: 124.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.00297/10.73, allocations: 1.307 MB / 4.708 GB, free: 123.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/10.73, allocations: 60.19 kB / 4.708 GB, free: 123.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/10.73, allocations: 1.352 MB / 4.709 GB, free: 122.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.832e-05/10.73, allocations: 29.7 kB / 4.709 GB, free: 122.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/10.73, allocations: 1.007 MB / 4.71 GB, free: 121.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/10.73, allocations: 287.7 kB / 4.711 GB, free: 120.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/10.73, allocations: 0 / 4.711 GB, free: 120.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/10.73, allocations: 349.9 kB / 4.711 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/10.73, allocations: 414.5 kB / 4.711 GB, free: 120 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/10.74, allocations: 0.8208 MB / 4.712 GB, free: 119 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/10.74, allocations: 0.5754 MB / 4.713 GB, free: 118.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/10.74, allocations: 4 kB / 4.713 GB, free: 118.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003157/10.74, allocations: 1.608 MB / 4.714 GB, free: 116.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007769/10.74, allocations: 3.949 MB / 4.718 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/10.74, allocations: 12 kB / 4.718 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/10.74, allocations: 317.6 kB / 4.718 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/10.74, allocations: 267.1 kB / 4.719 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/10.75, allocations: 3.645 MB / 4.722 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/10.75, allocations: 134.5 kB / 4.722 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/10.75, allocations: 76.16 kB / 4.722 GB, free: 108.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/10.75, allocations: 4.938 kB / 4.722 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003024/10.75, allocations: 1.309 MB / 4.724 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/10.75, allocations: 16 kB / 4.724 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/10.75, allocations: 317.4 kB / 4.724 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/10.75, allocations: 238.8 kB / 4.724 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/10.76, allocations: 5.006 MB / 4.729 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/10.76, allocations: 135.6 kB / 4.729 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/10.76, allocations: 71.97 kB / 4.729 GB, free: 100.7 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0003904/10.76, allocations: 136.8 kB / 4.729 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002627/10.76, allocations: 1.209 MB / 4.731 GB, free: 99.34 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/10.76, allocations: 201.4 kB / 4.731 GB, free: 99.14 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/10.77, allocations: 1.34 MB / 4.732 GB, free: 97.79 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/10.77, allocations: 8 kB / 4.732 GB, free: 97.78 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/10.77, allocations: 0 / 4.732 GB, free: 97.78 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002185/10.77, allocations: 1.155 MB / 4.733 GB, free: 96.58 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.005436/10.77, allocations: 3.021 MB / 4.736 GB, free: 93.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/10.77, allocations: 0 / 4.736 GB, free: 93.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/10.77, allocations: 195.9 kB / 4.736 GB, free: 93.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/10.78, allocations: 210.4 kB / 4.737 GB, free: 93.07 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/10.78, allocations: 15.97 kB / 4.737 GB, free: 93.06 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/10.78, allocations: 3.442 MB / 4.74 GB, free: 89.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/10.78, allocations: 3.938 kB / 4.74 GB, free: 89.43 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/10.78, allocations: 1.94 MB / 4.742 GB, free: 87.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/10.78, allocations: 358.6 kB / 4.742 GB, free: 87.03 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/10.78, allocations: 11.94 kB / 4.742 GB, free: 87.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/10.78, allocations: 127.7 kB / 4.742 GB, free: 86.89 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/10.78, allocations: 52.7 kB / 4.742 GB, free: 86.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/10.78, allocations: 43.97 kB / 4.742 GB, free: 86.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001357/10.78, allocations: 1.032 MB / 4.743 GB, free: 85.75 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/10.78, allocations: 0 / 4.743 GB, free: 85.75 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004825/10.79, allocations: 1.446 MB / 4.745 GB, free: 84.3 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.008809/10.8, allocations: 7.358 MB / 4.752 GB, free: 77 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003544/10.8, allocations: 2.074 MB / 4.754 GB, free: 74.89 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/10.8, allocations: 0 / 4.754 GB, free: 74.89 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008678/10.8, allocations: 0.58 MB / 4.755 GB, free: 74.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/10.81, allocations: 0.9252 MB / 4.756 GB, free: 73.41 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/10.81, allocations: 3.377 MB / 4.759 GB, free: 69.97 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/10.81, allocations: 1.664 MB / 4.76 GB, free: 68.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002973/10.82, allocations: 0.7265 MB / 4.761 GB, free: 67.58 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008654/10.82, allocations: 0.8273 MB / 4.762 GB, free: 66.75 MB / 1.167 GB Notification: Performance of SimCode: time 6.01e-07/10.82, allocations: 0 / 4.762 GB, free: 66.75 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/10.95, allocations: 85.66 MB / 4.846 GB, free: 13.77 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/10.95, allocations: 166.6 kB / 4.846 GB, free: 13.58 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.227/16.17, allocations: 3.938 kB / 4.846 GB, free: 13.57 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