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.001054/0.001054, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009106/0.0009106, allocations: 177.3 kB / 15.94 MB, free: 228 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.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.712/2.712, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004326, allocations: 8 kB / 0.8375 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9028, allocations: 146.8 MB / 0.9809 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001894/0.9048, allocations: 1.304 MB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006582/0.9054, allocations: 328.1 kB / 0.9825 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.9055, allocations: 0 / 0.9825 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.9055, allocations: 7.922 kB / 0.9825 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.9056, allocations: 27.88 kB / 0.9825 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.9059, allocations: 55.89 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.906, allocations: 63.84 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.9061, allocations: 31.95 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.9062, allocations: 31.91 kB / 0.9827 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.9063, allocations: 31.86 kB / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.9064, allocations: 4 kB / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.791e-05/0.9064, allocations: 35.84 kB / 0.9827 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.9065, allocations: 15.97 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.9065, allocations: 37.64 kB / 0.9828 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.9067, allocations: 78.05 kB / 0.9829 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.9067, allocations: 4 kB / 0.9829 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9067, allocations: 0 / 0.9829 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9067, allocations: 0 / 0.9829 GB, free: 4.289 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.0006078/0.9073, allocations: 391 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9074, allocations: 12.03 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.9074, allocations: 42.55 kB / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.9088, allocations: 175.7 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.909, allocations: 178.9 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.909, allocations: 4 kB / 0.9836 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.909, allocations: 12 kB / 0.9836 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.9097, allocations: 183.1 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9097, allocations: 4 kB / 0.9838 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.9097, allocations: 4 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.9097, allocations: 0 / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000923/0.9107, allocations: 211.8 kB / 0.984 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.9119, allocations: 484.2 kB / 0.9845 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.913, allocations: 214.4 kB / 0.9847 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.9131, allocations: 11.92 kB / 0.9847 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.9131, allocations: 34.52 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9131, allocations: 4 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.001208/0.9143, allocations: 249.5 kB / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.9144, allocations: 55.41 kB / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.9146, allocations: 193.6 kB / 0.9852 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.9147, allocations: 29.64 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.9148, allocations: 111.9 kB / 0.9853 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.9148, allocations: 7.812 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.9148, allocations: 8 kB / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.915, allocations: 322.8 kB / 0.9857 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.9154, allocations: 91.91 kB / 0.9858 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.9159, allocations: 110.5 kB / 0.9859 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.9163, allocations: 87.92 kB / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9163, allocations: 0 / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009695/0.9173, allocations: 241.4 kB / 0.9862 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.9175, allocations: 271 kB / 0.9864 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9175, allocations: 4 kB / 0.9864 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.9175, allocations: 0 / 0.9864 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.9178, allocations: 55.88 kB / 0.9865 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9179, allocations: 0 / 0.9865 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.9182, allocations: 51.89 kB / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.9183, allocations: 3.984 kB / 0.9865 GB, free: 268 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.9183, allocations: 7.953 kB / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003832/0.9187, allocations: 103.9 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.9187, allocations: 160 / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-06/0.9187, allocations: 0 / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.9189, allocations: 32.03 kB / 0.9867 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.9189, allocations: 3.984 kB / 0.9867 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.919, allocations: 20.02 kB / 0.9867 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.9191, allocations: 11.98 kB / 0.9867 GB, free: 88 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.0001492/0.9192, allocations: 189.1 kB / 0.9869 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.9193, allocations: 19.8 kB / 0.9869 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.9193, allocations: 12.25 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9193, allocations: 0 / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9193, allocations: 0 / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9193, allocations: 3.938 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.9196, allocations: 205.6 kB / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9196, allocations: 0 / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.9198, allocations: 39.95 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9198, allocations: 0 / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.9199, allocations: 11.94 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9199, allocations: 0 / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.9199, allocations: 0 / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.9207, allocations: 283.2 kB / 0.9874 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.9208, allocations: 100.9 kB / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.9208, allocations: 4 kB / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.9211, allocations: 31.92 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.9211, allocations: 11.94 kB / 0.9876 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.9212, allocations: 7.922 kB / 0.9876 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001948/0.9214, allocations: 143.9 kB / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9214, allocations: 0 / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003361/0.9217, allocations: 32 kB / 0.9878 GB, free: 14.92 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.001132/0.9229, allocations: 0.8114 MB / 0.9886 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9239, allocations: 227.9 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9239, allocations: 4.062 kB / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.9243, allocations: 84.14 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.9245, allocations: 3.953 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.9276, allocations: 1.234 MB / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.9279, allocations: 0.6965 MB / 0.9907 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.9281, allocations: 28.08 kB / 0.9908 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.9282, allocations: 31.41 kB / 0.9908 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.9282, allocations: 0 / 0.9908 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6269/1.555, allocations: 2.623 MB / 0.9934 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/1.556, allocations: 204.5 kB / 0.9936 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/3.445, allocations: 0 / 0.9936 GB, free: 8.984 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