Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.359/2.359, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001111/0.001111, allocations: 192.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009574/0.0009576, allocations: 91.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.25, allocations: 151 MB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.25, allocations: 84.31 kB / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009601/1.26, allocations: 3.376 MB / 1.37 GB, free: 68 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.954e-06/1.26, allocations: 4 kB / 1.37 GB, free: 64 kB / 0.823 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.26, allocations: 0 / 1.37 GB, free: 64 kB / 0.823 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.0005211/1.26, allocations: 387.6 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.26, allocations: 15.97 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/1.26, allocations: 38.06 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.261, allocations: 135.2 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/1.262, allocations: 183.5 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.262, allocations: 4 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.262, allocations: 7.312 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/1.262, allocations: 127.9 kB / 1.371 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.262, allocations: 0 / 1.371 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.262, allocations: 0 / 1.371 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.262, allocations: 4 kB / 1.371 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/1.262, allocations: 84.22 kB / 1.371 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/1.263, allocations: 491.7 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/1.264, allocations: 83.56 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/1.264, allocations: 30.91 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/1.264, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.264, allocations: 42.48 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.264, allocations: 3.938 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002686/1.264, allocations: 78.41 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.264, allocations: 51.41 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/1.264, allocations: 176.8 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/1.264, allocations: 25.7 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/1.265, allocations: 109.5 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/1.265, allocations: 11.47 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.265, allocations: 0 / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.265, allocations: 326.1 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/1.265, allocations: 23.06 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/1.265, allocations: 51.06 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/1.265, allocations: 33.61 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.265, allocations: 0 / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002285/1.265, allocations: 121 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.265, allocations: 282.2 kB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.265, allocations: 0 / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.265, allocations: 0 / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/1.266, allocations: 51.94 kB / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.266, allocations: 0 / 1.373 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/1.266, allocations: 55.11 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/1.266, allocations: 7.984 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/1.266, allocations: 4 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001198/1.266, allocations: 45.42 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-06/1.266, allocations: 0 / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/1.266, allocations: 4 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/1.267, allocations: 27.91 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/1.267, allocations: 64 / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/1.267, allocations: 23.98 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/1.267, allocations: 7.484 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.463e-05/1.267, allocations: 112.9 kB / 1.373 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/1.267, allocations: 11.81 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/1.267, allocations: 15.91 kB / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.267, allocations: 0 / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.267, allocations: 0 / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.267, allocations: 0 / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/1.267, allocations: 210.8 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.267, allocations: 0 / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.267, allocations: 35.95 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.267, allocations: 7.984 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/1.267, allocations: 3.812 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.267, allocations: 0 / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.267, allocations: 0 / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/1.268, allocations: 181.2 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/1.268, allocations: 96.42 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/1.268, allocations: 12 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/1.268, allocations: 23.97 kB / 1.373 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/1.268, allocations: 11.3 kB / 1.373 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/1.268, allocations: 3.938 kB / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000109/1.268, allocations: 138.1 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.268, allocations: 0 / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000307/1.269, allocations: 43.17 kB / 1.374 GB, free: 12.11 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 (3): * Single equations (assignments): 3 * 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.0005081/1.269, allocations: 0.7067 MB / 1.374 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002278/1.269, allocations: 96.97 kB / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.269, allocations: 0 / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/1.269, allocations: 30.34 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/1.27, allocations: 0.5156 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/1.27, allocations: 192.1 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/1.271, allocations: 0.701 MB / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002065/1.271, allocations: 23.98 kB / 1.375 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/1.271, allocations: 34.16 kB / 1.375 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.271, allocations: 0 / 1.375 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/1.288, allocations: 2.74 MB / 1.378 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.288, allocations: 172.7 kB / 1.378 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/3.03, allocations: 0 / 1.378 GB, free: 7.504 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat