Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001034/0.001034, allocations: 92.16 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.001051/0.001051, 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.366/1.366, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.645/2.645, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7382, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001374/0.7396, allocations: 0.9769 MB / 0.9821 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.7406, allocations: 0.5321 MB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.7407, allocations: 0 / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.7407, allocations: 0 / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.7407, allocations: 3.938 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.7413, allocations: 123.6 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.966e-05/0.7414, allocations: 11.94 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.7414, allocations: 0 / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.7414, allocations: 7.984 kB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.7415, allocations: 3.984 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.7415, allocations: 0 / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.742, allocations: 331.3 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.742, allocations: 7.984 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.7421, allocations: 25.7 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.7423, allocations: 98.03 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7423, allocations: 0 / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7423, allocations: 0 / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.7423, allocations: 0 / 0.9832 GB, free: 4.133 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.0003233/0.7426, allocations: 347.3 kB / 0.9835 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7427, allocations: 8.031 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.7427, allocations: 42.55 kB / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.785e-05/0.7427, allocations: 0 / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7428, allocations: 167 kB / 0.9837 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.7429, allocations: 4 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.7429, allocations: 0 / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.743, allocations: 33.66 kB / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.743, allocations: 0 / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.743, allocations: 0 / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.743, allocations: 4 kB / 0.9838 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.7431, allocations: 0 / 0.9838 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.7432, allocations: 153.7 kB / 0.9839 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.7433, allocations: 38.48 kB / 0.984 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.7433, allocations: 8.922 kB / 0.984 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.7433, allocations: 0 / 0.984 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7433, allocations: 34.55 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.7434, allocations: 0 / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001265/0.7435, allocations: 45.66 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.7435, allocations: 51.41 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.7436, allocations: 97.92 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.7436, allocations: 29.7 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.7437, allocations: 80.14 kB / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.7437, allocations: 19.81 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.7437, allocations: 0 / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7438, allocations: 310.8 kB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.7438, allocations: 7.938 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.7439, allocations: 0 / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.7439, allocations: 12.19 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7439, allocations: 0 / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.42e-05/0.744, allocations: 37.69 kB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.744, allocations: 4 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.744, allocations: 0 / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.744, allocations: 7.953 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.7442, allocations: 4 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003558/0.7445, allocations: 0.5938 MB / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.7446, allocations: 3.906 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.7446, allocations: 0 / 0.9853 GB, free: 1.77 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 7.227e-05/0.7446, allocations: 109.8 kB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.7447, allocations: 7.984 kB / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.7448, allocations: 44.81 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7448, allocations: 3.938 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7448, allocations: 4.125 kB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7448, allocations: 0 / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.134e-05/0.7449, allocations: 149.7 kB / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7449, allocations: 0 / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.745, allocations: 12 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.421e-05/0.745, allocations: 3.953 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.745, allocations: 0 / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003711/0.7454, allocations: 0.586 MB / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7454, allocations: 4.062 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.804e-05/0.7455, allocations: 69.06 kB / 0.9862 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.7456, allocations: 77.11 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.7456, allocations: 3.984 kB / 0.9863 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.7456, allocations: 0 / 0.9863 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.7457, allocations: 7.938 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.7457, allocations: 0 / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.7457, allocations: 79.31 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 0 / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001966/0.7459, allocations: 8 kB / 0.9864 GB, free: 500 kB / 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.0005323/0.7465, allocations: 0.6176 MB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.7466, allocations: 31.86 kB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7467, allocations: 0 / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.7467, allocations: 8 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.7469, allocations: 5.422 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.7473, allocations: 137 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.7476, allocations: 0.6731 MB / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.7476, allocations: 3.984 kB / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.7476, allocations: 7.438 kB / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.7476, allocations: 0 / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.7599, allocations: 1.16 MB / 0.989 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.7601, allocations: 264.4 kB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.555, allocations: 0 / 0.9892 GB, free: 13.66 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat does not exist to compare? outputFormat=mat