Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001418/0.001418, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.001066/0.001066, allocations: 103.6 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.824e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8832/1.141, allocations: 160.6 MB / 1.363 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/1.141, allocations: 86.62 kB / 1.363 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03065/1.172, allocations: 11.09 MB / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.172, allocations: 0 / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.131e-05/1.172, allocations: 3.812 kB / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009339/1.173, allocations: 0.5287 MB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.173, allocations: 11.56 kB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009491/1.174, allocations: 136.5 kB / 1.374 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/1.175, allocations: 0.6671 MB / 1.375 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.175, allocations: 7.906 kB / 1.375 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/1.175, allocations: 7.719 kB / 1.375 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002064/1.175, allocations: 126 kB / 1.375 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/1.176, allocations: 124.5 kB / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.176, allocations: 3.844 kB / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/1.176, allocations: 3.953 kB / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.176, allocations: 0 / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/1.177, allocations: 0.497 MB / 1.376 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/1.177, allocations: 149.3 kB / 1.376 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/1.177, allocations: 66.48 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/1.177, allocations: 3.969 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/1.177, allocations: 30.56 kB / 1.376 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/1.177, allocations: 0 / 1.376 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004614/1.177, allocations: 194.4 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/1.178, allocations: 55.41 kB / 1.376 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/1.178, allocations: 262.3 kB / 1.377 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.178, allocations: 29.61 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/1.178, allocations: 152.1 kB / 1.377 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/1.178, allocations: 30.8 kB / 1.377 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/1.178, allocations: 0 / 1.377 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.178, allocations: 339.8 kB / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/1.178, allocations: 73.36 kB / 1.377 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/1.178, allocations: 136.4 kB / 1.377 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/1.179, allocations: 101.7 kB / 1.377 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.179, allocations: 0 / 1.377 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004537/1.179, allocations: 249.7 kB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003045/1.179, allocations: 0.7009 MB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.179, allocations: 0 / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.179, allocations: 7.828 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/1.18, allocations: 62.09 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.18, allocations: 7.75 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/1.18, allocations: 31.27 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.18, allocations: 18.64 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/1.18, allocations: 3.875 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003383/1.18, allocations: 167.2 kB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/1.18, allocations: 4.031 kB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/1.18, allocations: 3.875 kB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/1.181, allocations: 54.05 kB / 1.379 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/1.181, allocations: 3.844 kB / 1.379 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/1.181, allocations: 39.31 kB / 1.379 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/1.181, allocations: 11.59 kB / 1.379 GB, free: 29.83 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.181, allocations: 108.9 kB / 1.379 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002272/1.181, allocations: 147.3 kB / 1.379 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/1.181, allocations: 19.53 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/1.182, allocations: 169.9 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.182, allocations: 0 / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.182, allocations: 0 / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.182, allocations: 11.77 kB / 1.379 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/1.182, allocations: 245.5 kB / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.182, allocations: 0 / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.182, allocations: 43 kB / 1.379 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/1.182, allocations: 0 / 1.379 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.182, allocations: 3.984 kB / 1.379 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.182, allocations: 0 / 1.379 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.182, allocations: 3.875 kB / 1.379 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/1.182, allocations: 246.7 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/1.182, allocations: 116.3 kB / 1.38 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.183, allocations: 3.906 kB / 1.38 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/1.183, allocations: 19.48 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/1.183, allocations: 10.08 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/1.183, allocations: 3.906 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001776/1.183, allocations: 211.5 kB / 1.38 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.183, allocations: 0 / 1.38 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008153/1.184, allocations: 184.5 kB / 1.38 GB, free: 28.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.185, allocations: 1.047 MB / 1.381 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003718/1.185, allocations: 257 kB / 1.381 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.185, allocations: 96 / 1.381 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/1.186, allocations: 55.45 kB / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/1.186, allocations: 91.2 kB / 1.382 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/1.187, allocations: 424.8 kB / 1.382 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/1.187, allocations: 0.7794 MB / 1.383 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004606/1.188, allocations: 131.9 kB / 1.383 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.188, allocations: 91.59 kB / 1.383 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.188, allocations: 0 / 1.383 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/1.219, allocations: 9.403 MB / 1.392 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.219, allocations: 157.3 kB / 1.392 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/3.263, allocations: 4 kB / 1.392 GB, free: 22.22 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat does not exist to compare? outputFormat=mat