Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.0007975/0.0007975, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008494/0.0008495, allocations: 168.7 kB / 15.95 MB, free: 204 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.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.533/2.533, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.000386, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7287, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001519/0.7302, allocations: 1.004 MB / 0.9821 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000961/0.7312, allocations: 0.5361 MB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.7313, allocations: 0 / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.7313, allocations: 3.938 kB / 0.9826 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.7314, allocations: 11.92 kB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.7319, allocations: 122.7 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.732, allocations: 23.86 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.7321, allocations: 0 / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.7321, allocations: 4 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.7321, allocations: 23.84 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.7322, allocations: 4 kB / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.7327, allocations: 331.3 kB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.7327, allocations: 4 kB / 0.9831 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.7327, allocations: 29.7 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.7329, allocations: 94.08 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7329, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7329, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7329, allocations: 0 / 0.9833 GB, free: 4.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003945/0.7333, allocations: 359.2 kB / 0.9836 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7334, allocations: 8.031 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.7334, allocations: 34.56 kB / 0.9836 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.7334, allocations: 8 kB / 0.9837 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.7336, allocations: 163 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.7336, allocations: 0 / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.7336, allocations: 4 kB / 0.9838 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.7337, allocations: 45.58 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7338, allocations: 0 / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.7338, allocations: 8 kB / 0.9839 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7338, allocations: 3.938 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.7338, allocations: 11.98 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.7342, allocations: 257 kB / 0.9841 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.7344, allocations: 58.52 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.7345, allocations: 24.83 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.7345, allocations: 0 / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7345, allocations: 30.56 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7345, allocations: 4 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.7347, allocations: 61.59 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.7348, allocations: 51.41 kB / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.7349, allocations: 93.86 kB / 0.9844 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.7349, allocations: 25.7 kB / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.7349, allocations: 92.06 kB / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.735, allocations: 11.81 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.735, allocations: 0 / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.7351, allocations: 318.8 kB / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.7351, allocations: 4 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.7351, allocations: 21.7 kB / 0.9849 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.7352, allocations: 8 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7352, allocations: 0 / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.735e-05/0.7353, allocations: 61.58 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7353, allocations: 8 kB / 0.985 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7353, allocations: 0 / 0.985 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7353, allocations: 7.969 kB / 0.985 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.7354, allocations: 11.98 kB / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7354, allocations: 0 / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.7354, allocations: 3.938 kB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.7355, allocations: 4 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 7.274e-05/0.7355, allocations: 109.8 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.7356, allocations: 11.86 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.7357, allocations: 57.12 kB / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.7357, allocations: 8 kB / 0.9852 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7357, allocations: 3.984 kB / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7357, allocations: 0 / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.7359, allocations: 153.7 kB / 0.9853 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.7359, allocations: 0 / 0.9853 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.736, allocations: 11.94 kB / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.736, allocations: 0 / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.736, allocations: 8.078 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.736, allocations: 0 / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.736, allocations: 0 / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.7361, allocations: 152 kB / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.7362, allocations: 81.02 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.7362, allocations: 4 kB / 0.9856 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.7362, allocations: 11.94 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.7363, allocations: 0 / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7363, allocations: 0 / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.7363, allocations: 83.31 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7363, allocations: 0 / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002676/0.7366, allocations: 24 kB / 0.9857 GB, free: 1.25 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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.0004503/0.737, allocations: 0.6979 MB / 0.9864 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.7371, allocations: 23.94 kB / 0.9864 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7372, allocations: 0 / 0.9864 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.073e-05/0.7372, allocations: 11.98 kB / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.7374, allocations: 12.02 kB / 0.9864 GB, free: 492 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.7378, allocations: 166.2 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.7381, allocations: 0.6731 MB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.7381, allocations: 11.98 kB / 0.9872 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.7382, allocations: 19.38 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7382, allocations: 0 / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.7496, allocations: 1.2 MB / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7499, allocations: 211.9 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.41, allocations: 0 / 0.9886 GB, free: 14.29 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat does not exist to compare? outputFormat=mat