Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.0008542/0.0008543, allocations: 86.25 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.0009259/0.000926, 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.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003753, allocations: 11.94 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7628, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001178/0.764, allocations: 0.975 MB / 0.9548 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.7648, allocations: 0.5363 MB / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.7648, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.7649, allocations: 1.25 kB / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.7649, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.7653, allocations: 118 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.92e-05/0.7654, allocations: 7.75 kB / 0.9555 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.7654, allocations: 0.8438 kB / 0.9555 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.7654, allocations: 3.156 kB / 0.9555 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.7655, allocations: 9.984 kB / 0.9555 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.7655, allocations: 0 / 0.9555 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.7659, allocations: 340 kB / 0.9558 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.766, allocations: 0 / 0.9558 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.766, allocations: 30.86 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.7662, allocations: 92.44 kB / 0.9559 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7662, allocations: 3.938 kB / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7662, allocations: 0 / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.7662, allocations: 0 / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002736/0.7665, allocations: 350.3 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7665, allocations: 8.688 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.7665, allocations: 31.72 kB / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.7666, allocations: 8.828 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.297e-05/0.7666, allocations: 168.3 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.7667, allocations: 0 / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.7667, allocations: 1.062 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.835e-05/0.7668, allocations: 36.78 kB / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.7668, allocations: 0 / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.7668, allocations: 1.156 kB / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7668, allocations: 4 kB / 0.9565 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.7668, allocations: 11.52 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.7669, allocations: 152.1 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.767, allocations: 19.7 kB / 0.9567 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.767, allocations: 11.27 kB / 0.9567 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.767, allocations: 5.203 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.7671, allocations: 38.56 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.7671, allocations: 1.062 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001193/0.7672, allocations: 37.92 kB / 0.9568 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.7672, allocations: 52.66 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.512e-05/0.7673, allocations: 107.8 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.7673, allocations: 26.92 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.356e-05/0.7673, allocations: 80.14 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.7673, allocations: 9.219 kB / 0.957 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.7673, allocations: 4 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.7674, allocations: 312 kB / 0.9573 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.7674, allocations: 6.406 kB / 0.9573 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-06/0.7674, allocations: 6 kB / 0.9573 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.7674, allocations: 2.281 kB / 0.9573 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7674, allocations: 0 / 0.9573 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.396e-05/0.7675, allocations: 45.81 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7675, allocations: 5.562 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7675, allocations: 4.094 kB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.7675, allocations: 1.188 kB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.7677, allocations: 11.58 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002193/0.7679, allocations: 0.5823 MB / 0.958 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.768, allocations: 1.094 kB / 0.958 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.768, allocations: 1.094 kB / 0.958 GB, free: 4.355 MB / 0.7169 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.768, allocations: 111 kB / 0.9581 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.768, allocations: 4.969 kB / 0.9581 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.7681, allocations: 48.84 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7681, allocations: 5.078 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.7681, allocations: 0 / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.7681, allocations: 0 / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.593e-05/0.7682, allocations: 157 kB / 0.9583 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7682, allocations: 0 / 0.9583 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.7683, allocations: 7.75 kB / 0.9583 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7683, allocations: 5.031 kB / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.7683, allocations: 0 / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001609/0.7685, allocations: 0.591 MB / 0.9589 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7685, allocations: 0 / 0.9589 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.123e-05/0.7685, allocations: 62.64 kB / 0.9589 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.7686, allocations: 86.33 kB / 0.959 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.7686, allocations: 1.25 kB / 0.959 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.7686, allocations: 0 / 0.959 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.7686, allocations: 1.094 kB / 0.959 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.7686, allocations: 1.094 kB / 0.959 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.717e-05/0.7687, allocations: 80.41 kB / 0.9591 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7687, allocations: 0 / 0.9591 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002052/0.7689, allocations: 7.438 kB / 0.9591 GB, free: 3.129 MB / 0.7169 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/0.7691, allocations: 0.6234 MB / 0.9597 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.7693, allocations: 21.52 kB / 0.9597 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7693, allocations: 0 / 0.9597 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.7694, allocations: 18.66 kB / 0.9597 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.7695, allocations: 2.094 kB / 0.9598 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.7699, allocations: 144.4 kB / 0.9599 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.672e-05/0.77, allocations: 0.6757 MB / 0.9605 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.77, allocations: 1.406 kB / 0.9606 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.7701, allocations: 7.5 kB / 0.9606 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7701, allocations: 4 kB / 0.9606 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.7826, allocations: 1.168 MB / 0.9617 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.7828, allocations: 253.9 kB / 0.9619 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.812, allocations: 2.062 kB / 0.9619 GB, free: 0.793 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat does not exist to compare? outputFormat=mat