Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.199/2.199, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001046/0.001046, allocations: 169.3 kB / 498.1 MB, free: 5.766 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.418/1.418, allocations: 223.2 MB / 0.7948 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009518, allocations: 100.2 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 14 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.4126, allocations: 151 MB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4129, allocations: 87.94 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.4296, allocations: 5.398 MB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4297, allocations: 3.938 kB / 1.376 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4297, allocations: 0 / 1.376 GB, free: 5.492 MB / 0.8698 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.0004894/0.4302, allocations: 365 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.4303, allocations: 12.03 kB / 1.376 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.4303, allocations: 38.48 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.4304, allocations: 11.86 kB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4305, allocations: 167.1 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4305, allocations: 4 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.4306, allocations: 0 / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.4307, allocations: 41.69 kB / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.4307, allocations: 0 / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4307, allocations: 0 / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4307, allocations: 11.88 kB / 1.376 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.4308, allocations: 15.98 kB / 1.376 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.4312, allocations: 248.9 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4314, allocations: 46.69 kB / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4314, allocations: 4 kB / 1.377 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4314, allocations: 34.5 kB / 1.377 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.4315, allocations: 0 / 1.377 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001827/0.4316, allocations: 57.73 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.4317, allocations: 55.41 kB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.4318, allocations: 93 kB / 1.377 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.4318, allocations: 25.7 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.4318, allocations: 92.03 kB / 1.377 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.4319, allocations: 7.844 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.4319, allocations: 4 kB / 1.377 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.432, allocations: 310.8 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.432, allocations: 4 kB / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.432, allocations: 33.7 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.4321, allocations: 11.94 kB / 1.377 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4321, allocations: 0 / 1.377 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.377e-05/0.4322, allocations: 57.59 kB / 1.377 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4322, allocations: 4 kB / 1.377 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4322, allocations: 0 / 1.377 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4322, allocations: 0 / 1.377 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.4323, allocations: 19.89 kB / 1.377 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4323, allocations: 3.984 kB / 1.377 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.4323, allocations: 8.031 kB / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.4324, allocations: 0 / 1.377 GB, free: 3.516 MB / 0.8698 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 8.151e-05/0.4324, allocations: 109.8 kB / 1.378 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.4325, allocations: 3.938 kB / 1.378 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.4326, allocations: 65.12 kB / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4326, allocations: 0 / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4326, allocations: 3.953 kB / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4326, allocations: 7.984 kB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4328, allocations: 161.6 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4328, allocations: 3.938 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.4329, allocations: 4 kB / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4329, allocations: 0 / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4329, allocations: 0 / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.4329, allocations: 4 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4329, allocations: 0 / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.433, allocations: 152 kB / 1.378 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.4331, allocations: 81.11 kB / 1.378 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4331, allocations: 0 / 1.378 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.4331, allocations: 0 / 1.378 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.4332, allocations: 7.984 kB / 1.378 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4332, allocations: 0 / 1.378 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.4332, allocations: 79.28 kB / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4332, allocations: 0 / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002586/0.4335, allocations: 27.89 kB / 1.378 GB, free: 2.715 MB / 0.8698 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.000457/0.434, allocations: 0.7161 MB / 1.379 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.434, allocations: 23.92 kB / 1.379 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4341, allocations: 0 / 1.379 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.4341, allocations: 12 kB / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.4342, allocations: 7.938 kB / 1.379 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.4347, allocations: 182.1 kB / 1.379 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4349, allocations: 0.677 MB / 1.38 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.435, allocations: 4 kB / 1.38 GB, free: 1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.435, allocations: 15.38 kB / 1.38 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.435, allocations: 0 / 1.38 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.448, allocations: 1.169 MB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.4482, allocations: 202 kB / 1.381 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.883, allocations: 3.094 kB / 1.381 GB, free: 15.74 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat does not exist to compare? outputFormat=mat