Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.398/2.398, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001002/0.001002, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.503/1.503, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.0009776/0.0009776, allocations: 87.92 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.183e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2888, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9096/1.198, allocations: 149.5 MB / 1.352 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.199, allocations: 80.53 kB / 1.352 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01016/1.209, allocations: 3.208 MB / 1.355 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.392e-06/1.209, allocations: 0 / 1.355 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.209, allocations: 8.594 kB / 1.355 GB, free: 33.72 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004426/1.21, allocations: 389 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.21, allocations: 11.53 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/1.21, allocations: 94.14 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.21, allocations: 176.6 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.211, allocations: 0 / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/1.211, allocations: 7.688 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001562/1.211, allocations: 64.12 kB / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/1.211, allocations: 98.11 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.211, allocations: 0.5156 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/1.211, allocations: 0 / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.211, allocations: 3.844 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/1.212, allocations: 427.2 kB / 1.356 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/1.212, allocations: 70.62 kB / 1.356 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/1.212, allocations: 28.61 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/1.212, allocations: 0.5156 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/1.212, allocations: 37.95 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/1.212, allocations: 0 / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002213/1.212, allocations: 93.14 kB / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/1.212, allocations: 52.02 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.213, allocations: 119.2 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/1.213, allocations: 25.7 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/1.213, allocations: 106.8 kB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/1.213, allocations: 20.94 kB / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/1.213, allocations: 0 / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.213, allocations: 315.7 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/1.213, allocations: 31.69 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/1.213, allocations: 28.23 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/1.213, allocations: 22.31 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.213, allocations: 0 / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001528/1.213, allocations: 92.11 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/1.213, allocations: 102.5 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.213, allocations: 4.641 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.213, allocations: 0 / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/1.214, allocations: 44.66 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/1.214, allocations: 0 / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/1.214, allocations: 39.89 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/1.214, allocations: 2.203 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/1.214, allocations: 3.812 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.693e-05/1.214, allocations: 34.95 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/1.214, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-06/1.214, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/1.214, allocations: 19.06 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/1.214, allocations: 8.453 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/1.214, allocations: 18.2 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/1.214, allocations: 0 / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 7.94e-05/1.214, allocations: 105.5 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001482/1.214, allocations: 86.14 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/1.214, allocations: 8.359 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/1.214, allocations: 13.69 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.214, allocations: 11.92 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.214, allocations: 0 / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.214, allocations: 0.6094 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/1.215, allocations: 361.8 kB / 1.358 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.215, allocations: 3.875 kB / 1.358 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.215, allocations: 47.39 kB / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.215, allocations: 3.844 kB / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.215, allocations: 6.797 kB / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.215, allocations: 0 / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.215, allocations: 3.875 kB / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/1.215, allocations: 224.5 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/1.215, allocations: 92.92 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/1.216, allocations: 0.75 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/1.216, allocations: 31.25 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/1.216, allocations: 6.109 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.216, allocations: 6.359 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.492e-05/1.216, allocations: 97.06 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.502e-06/1.216, allocations: 0 / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002901/1.216, allocations: 34.78 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005221/1.217, allocations: 0.8958 MB / 1.36 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001772/1.217, allocations: 83.14 kB / 1.36 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.217, allocations: 0 / 1.36 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/1.217, allocations: 38.14 kB / 1.36 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/1.217, allocations: 8.453 kB / 1.36 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/1.218, allocations: 208.2 kB / 1.36 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/1.218, allocations: 0.7001 MB / 1.361 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001033/1.218, allocations: 17.89 kB / 1.361 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/1.219, allocations: 30.33 kB / 1.361 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.219, allocations: 3.875 kB / 1.361 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/1.239, allocations: 1.868 MB / 1.363 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.239, allocations: 155.6 kB / 1.363 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.883, allocations: 0 / 1.363 GB, free: 29.07 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat