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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 15.98 kB / 0.8378 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8887/0.8892, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002073/0.8913, allocations: 1.327 MB / 0.9824 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.892, allocations: 310 kB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.8921, allocations: 0 / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.8921, allocations: 11.92 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.769e-05/0.8922, allocations: 11.86 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.8925, allocations: 67.86 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.8927, allocations: 91.64 kB / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.8928, allocations: 27.97 kB / 0.9829 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.359e-05/0.8929, allocations: 35.84 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.893, allocations: 31.84 kB / 0.983 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.8931, allocations: 4 kB / 0.983 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-05/0.8932, allocations: 35.97 kB / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.8932, allocations: 19.92 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.8932, allocations: 37.7 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.8934, allocations: 74.05 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8934, allocations: 0 / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8934, allocations: 3.938 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8934, allocations: 0 / 0.9832 GB, free: 4.137 MB / 0.7325 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.000624/0.894, allocations: 395 kB / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8941, allocations: 12.03 kB / 0.9836 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.8942, allocations: 46.48 kB / 0.9836 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8954, allocations: 179.7 kB / 0.9838 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.8956, allocations: 167 kB / 0.9839 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.8956, allocations: 8 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.8956, allocations: 4 kB / 0.9839 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.8963, allocations: 193.3 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8963, allocations: 0 / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.8963, allocations: 4 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8963, allocations: 4 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.8972, allocations: 207.8 kB / 0.9843 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.8985, allocations: 488.1 kB / 0.9848 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.8995, allocations: 206.4 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.8999, allocations: 88.83 kB / 0.9851 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.8999, allocations: 3.953 kB / 0.9851 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.9, allocations: 38.56 kB / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.9, allocations: 0 / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.001114/0.9011, allocations: 257.3 kB / 0.9854 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.9011, allocations: 51.41 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.9014, allocations: 189.7 kB / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.9014, allocations: 33.69 kB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.9015, allocations: 107.9 kB / 0.9857 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.9015, allocations: 15.8 kB / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.9016, allocations: 0 / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9017, allocations: 314.8 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.9021, allocations: 91.91 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.9025, allocations: 118.5 kB / 0.9862 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.9029, allocations: 87.92 kB / 0.9863 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9029, allocations: 3.938 kB / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000851/0.9038, allocations: 237.4 kB / 0.9866 GB, free: 436 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.9039, allocations: 110.7 kB / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9039, allocations: 0 / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.9039, allocations: 0 / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.9042, allocations: 55.94 kB / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9042, allocations: 0 / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.9046, allocations: 51.88 kB / 0.9868 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.9046, allocations: 4 kB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.9046, allocations: 4 kB / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003467/0.905, allocations: 99.86 kB / 0.9869 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-06/0.905, allocations: 0 / 0.9869 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.905, allocations: 8.047 kB / 0.9869 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.9051, allocations: 27.92 kB / 0.9869 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.9052, allocations: 3.953 kB / 0.9869 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.9053, allocations: 27.81 kB / 0.9869 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.9053, allocations: 4 kB / 0.9869 GB, free: 24 kB / 0.7325 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 () * Number of clocked 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 0.0001527/0.9055, allocations: 201.1 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.9055, allocations: 7.906 kB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.9056, allocations: 8.25 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.9056, allocations: 3.984 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9056, allocations: 3.953 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9056, allocations: 0 / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.9059, allocations: 205.6 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9059, allocations: 0 / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.9061, allocations: 39.94 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.9061, allocations: 4.125 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9061, allocations: 4 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9061, allocations: 0 / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9061, allocations: 0 / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.9069, allocations: 295.1 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.907, allocations: 100.9 kB / 0.9878 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.907, allocations: 4 kB / 0.9878 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.9073, allocations: 31.97 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.9073, allocations: 3.984 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.9073, allocations: 0 / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001899/0.9075, allocations: 143.9 kB / 0.9879 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9075, allocations: 0 / 0.9879 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003312/0.9079, allocations: 35.95 kB / 0.988 GB, free: 14.86 MB / 0.7481 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 () * Number of clocked 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.001056/0.9089, allocations: 0.8177 MB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009524/0.9099, allocations: 236.1 kB / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9099, allocations: 0 / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.9102, allocations: 76.05 kB / 0.9891 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.9106, allocations: 8.766 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.9131, allocations: 0.9312 MB / 0.99 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.9134, allocations: 0.6927 MB / 0.9907 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.9136, allocations: 31.94 kB / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.9137, allocations: 39.33 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.9137, allocations: 0 / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.9276, allocations: 2.633 MB / 0.9933 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.9278, allocations: 203.1 kB / 0.9935 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.775, allocations: 0 / 0.9935 GB, free: 9.215 MB / 0.7481 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) Environment - environmentSimulation: 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