Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.26/2.26, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.00117/0.00117, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.0008255/0.0008256, allocations: 87.89 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.038e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.865/1.12, allocations: 151.7 MB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.12, allocations: 83.11 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01603/1.136, allocations: 5.399 MB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.136, allocations: 3.938 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.137, allocations: 0 / 1.372 GB, free: 13.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003734/1.137, allocations: 358.2 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.137, allocations: 8.031 kB / 1.373 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/1.137, allocations: 34.56 kB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/1.137, allocations: 7.938 kB / 1.373 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/1.137, allocations: 167.8 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.137, allocations: 7.438 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/1.137, allocations: 0 / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/1.137, allocations: 41.08 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/1.137, allocations: 0 / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.137, allocations: 3.984 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.137, allocations: 3.953 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/1.137, allocations: 15.75 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/1.138, allocations: 255 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/1.138, allocations: 45.81 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/1.138, allocations: 20.11 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/1.138, allocations: 3.938 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/1.138, allocations: 30.56 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.138, allocations: 0 / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001416/1.138, allocations: 57.17 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/1.138, allocations: 51.41 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/1.138, allocations: 96.31 kB / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/1.138, allocations: 25.7 kB / 1.374 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/1.138, allocations: 80.14 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/1.138, allocations: 19.3 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.138, allocations: 0 / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.139, allocations: 314.2 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/1.139, allocations: 11.94 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/1.139, allocations: 25.28 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/1.139, allocations: 7.984 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.139, allocations: 0 / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.277e-05/1.139, allocations: 56.44 kB / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.139, allocations: 5.406 kB / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.139, allocations: 0 / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.139, allocations: 7.953 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/1.139, allocations: 11.97 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.139, allocations: 4 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/1.139, allocations: 4.031 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.139, allocations: 4 kB / 1.374 GB, free: 11.75 MB / 0.8386 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 () * 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 6.75e-05/1.139, allocations: 108.4 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.139, allocations: 4.266 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/1.139, allocations: 59.98 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/1.139, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.139, allocations: 11.89 kB / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.139, allocations: 0 / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.139, allocations: 160.7 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.139, allocations: 0 / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/1.139, allocations: 7.562 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.139, allocations: 0 / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.139, allocations: 3.984 kB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.139, allocations: 4 kB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.139, allocations: 0 / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.14, allocations: 157.5 kB / 1.375 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/1.14, allocations: 77.11 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/1.14, allocations: 0 / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/1.14, allocations: 0 / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/1.14, allocations: 4 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/1.14, allocations: 0 / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.116e-05/1.14, allocations: 94.47 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.14, allocations: 0 / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000215/1.14, allocations: 20 kB / 1.375 GB, free: 10.98 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 (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/1.14, allocations: 0.7155 MB / 1.375 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/1.141, allocations: 27.11 kB / 1.375 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.141, allocations: 0 / 1.375 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/1.141, allocations: 8 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/1.141, allocations: 4.062 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/1.141, allocations: 105.9 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/1.141, allocations: 0.677 MB / 1.376 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.966e-05/1.141, allocations: 8.609 kB / 1.376 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/1.141, allocations: 11.31 kB / 1.376 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.141, allocations: 3.938 kB / 1.376 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/1.153, allocations: 1.182 MB / 1.377 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.153, allocations: 188.5 kB / 1.378 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.614, allocations: 0 / 1.378 GB, free: 8.109 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat does not exist to compare? outputFormat=mat