Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001688, allocations: 180.9 kB / 487.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.742/1.742, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 90.73 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.432e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.444, allocations: 149.1 MB / 1.352 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.444, allocations: 77.53 kB / 1.352 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01076/1.455, allocations: 3.47 MB / 1.355 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.774e-06/1.455, allocations: 0 / 1.355 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.455, allocations: 0 / 1.355 GB, free: 33.72 MB / 0.8386 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.0003463/1.456, allocations: 341.4 kB / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.456, allocations: 16.12 kB / 1.355 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/1.456, allocations: 4 kB / 1.355 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/1.456, allocations: 164.2 kB / 1.356 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.456, allocations: 3.781 kB / 1.356 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/1.456, allocations: 4.609 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.814e-05/1.456, allocations: 11.31 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/1.456, allocations: 27.06 kB / 1.356 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.456, allocations: 0 / 1.356 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/1.456, allocations: 0 / 1.356 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.456, allocations: 4.5 kB / 1.356 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/1.456, allocations: 128.3 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/1.456, allocations: 34.44 kB / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/1.456, allocations: 9.344 kB / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/1.456, allocations: 0 / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/1.456, allocations: 35.06 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/1.456, allocations: 0 / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000133/1.457, allocations: 34.02 kB / 1.356 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/1.457, allocations: 51.41 kB / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/1.457, allocations: 93.59 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/1.457, allocations: 26.36 kB / 1.356 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/1.457, allocations: 80.14 kB / 1.356 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/1.457, allocations: 11.45 kB / 1.356 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.457, allocations: 0 / 1.356 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.457, allocations: 312 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/1.457, allocations: 3.938 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/1.457, allocations: 3.906 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.67e-05/1.457, allocations: 4.844 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.457, allocations: 0 / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.108e-05/1.457, allocations: 46.52 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.457, allocations: 10.45 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.457, allocations: 0 / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.457, allocations: 0.6562 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.457, allocations: 9.75 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003911/1.458, allocations: 0.5857 MB / 1.357 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/1.458, allocations: 4.641 kB / 1.357 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/1.458, allocations: 0 / 1.357 GB, free: 31.61 MB / 0.8386 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 () * 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.061e-05/1.458, allocations: 105.5 kB / 1.357 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.438e-05/1.458, allocations: 35.23 kB / 1.357 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/1.458, allocations: 6.969 kB / 1.357 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/1.458, allocations: 44.27 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.458, allocations: 128 / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.458, allocations: 7.938 kB / 1.357 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.458, allocations: 8.547 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.564e-05/1.458, allocations: 134.2 kB / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.458, allocations: 0.6562 kB / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/1.458, allocations: 9.688 kB / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.458, allocations: 0.6094 kB / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/1.458, allocations: 0 / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003442/1.458, allocations: 0.5932 MB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.458, allocations: 0 / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.771e-05/1.459, allocations: 58.3 kB / 1.358 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/1.459, allocations: 81 kB / 1.358 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/1.459, allocations: 4.844 kB / 1.358 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/1.459, allocations: 7.75 kB / 1.358 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/1.459, allocations: 4.469 kB / 1.358 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/1.459, allocations: 4.781 kB / 1.358 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.861e-05/1.459, allocations: 75.28 kB / 1.358 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.459, allocations: 0 / 1.358 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002328/1.459, allocations: 20.2 kB / 1.358 GB, free: 30.41 MB / 0.8386 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 () * 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.0004108/1.459, allocations: 0.6074 MB / 1.359 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001417/1.46, allocations: 17.33 kB / 1.359 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.46, allocations: 3.844 kB / 1.359 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/1.46, allocations: 10.03 kB / 1.359 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/1.46, allocations: 3.953 kB / 1.359 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/1.46, allocations: 89 kB / 1.359 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.46, allocations: 0.6798 MB / 1.36 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.688e-05/1.46, allocations: 7.906 kB / 1.36 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/1.46, allocations: 8.234 kB / 1.36 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.46, allocations: 0 / 1.36 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/1.481, allocations: 0.7315 MB / 1.36 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.481, allocations: 182.2 kB / 1.361 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/3.144, allocations: 0 / 1.361 GB, free: 28.73 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat does not exist to compare? outputFormat=mat