Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_latest_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_latest_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.001214/0.001214, allocations: 99.7 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.0009598/0.0009597, allocations: 177.3 kB / 15.95 MB, free: 216 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.679/2.679, allocations: 409.2 MB / 0.6838 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004537, allocations: 11.98 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7356, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001302/0.7369, allocations: 0.9691 MB / 0.9818 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005381/0.7375, allocations: 297.7 kB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.7375, allocations: 4 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.7375, allocations: 3.938 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.7376, allocations: 0 / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.7379, allocations: 67.77 kB / 0.9822 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.959e-05/0.7379, allocations: 4 kB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.738, allocations: 0 / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.738, allocations: 7.984 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.7381, allocations: 0 / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.7381, allocations: 0 / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.7384, allocations: 179.7 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.7384, allocations: 11.92 kB / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.7384, allocations: 29.7 kB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.7385, allocations: 42.2 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.7385, allocations: 0 / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7386, allocations: 0 / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7386, allocations: 0 / 0.9824 GB, free: 4.703 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003852/0.7389, allocations: 335.3 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.739, allocations: 8.031 kB / 0.9828 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.739, allocations: 38.5 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.7391, allocations: 4 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.7392, allocations: 163.1 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7392, allocations: 0 / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.7392, allocations: 4 kB / 0.983 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.7393, allocations: 33.66 kB / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7394, allocations: 0 / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.7394, allocations: 0 / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7394, allocations: 4 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.7394, allocations: 3.984 kB / 0.983 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.7396, allocations: 161.7 kB / 0.9832 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.7397, allocations: 22.55 kB / 0.9832 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.7397, allocations: 4.062 kB / 0.9832 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.7397, allocations: 30.56 kB / 0.9832 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.7397, allocations: 0 / 0.9832 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.7399, allocations: 45.64 kB / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.7399, allocations: 63.41 kB / 0.9833 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.74, allocations: 93.86 kB / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.74, allocations: 29.7 kB / 0.9834 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.7401, allocations: 80.14 kB / 0.9835 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.7401, allocations: 7.844 kB / 0.9835 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.7401, allocations: 4 kB / 0.9835 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7403, allocations: 318.8 kB / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.7403, allocations: 0 / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.7403, allocations: 8.125 kB / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.635e-05/0.7403, allocations: 4 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7403, allocations: 0 / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.972e-05/0.7404, allocations: 37.7 kB / 0.9839 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7404, allocations: 4.938 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7404, allocations: 3.984 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.7404, allocations: 0 / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.7406, allocations: 11.95 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003998/0.741, allocations: 0.5861 MB / 0.9845 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.741, allocations: 11.91 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.7411, allocations: 4.031 kB / 0.9845 GB, free: 2.363 MB / 0.7325 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 8.946e-05/0.7412, allocations: 109.8 kB / 0.9846 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.7412, allocations: 3.953 kB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.7413, allocations: 52.84 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.7413, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7413, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7413, allocations: 4 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.7414, allocations: 141.7 kB / 0.9848 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7414, allocations: 0 / 0.9848 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.7415, allocations: 15.98 kB / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7415, allocations: 3.953 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.7415, allocations: 4 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.7418, allocations: 0.5822 MB / 0.9854 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7418, allocations: 0 / 0.9854 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.558e-05/0.7419, allocations: 73.05 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.742, allocations: 77.11 kB / 0.9855 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.742, allocations: 4 kB / 0.9855 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.742, allocations: 0 / 0.9855 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.742, allocations: 8.109 kB / 0.9855 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.742, allocations: 0 / 0.9855 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.7421, allocations: 79.28 kB / 0.9856 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7421, allocations: 0 / 0.9856 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001826/0.7422, allocations: 8 kB / 0.9856 GB, free: 1.086 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 (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.000389/0.7426, allocations: 0.6255 MB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.7428, allocations: 19.92 kB / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7428, allocations: 0 / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.7429, allocations: 15.98 kB / 0.9862 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.649e-05/0.743, allocations: 5.422 kB / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.7434, allocations: 140.9 kB / 0.9864 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.7437, allocations: 0.677 MB / 0.987 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.7437, allocations: 4 kB / 0.987 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.7438, allocations: 7.438 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.7438, allocations: 3.938 kB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.7566, allocations: 1.148 MB / 0.9882 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.7569, allocations: 261.9 kB / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.348, allocations: 0 / 0.9884 GB, free: 14.25 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat does not exist to compare? outputFormat=mat