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.399/2.399, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001475/0.001476, allocations: 168 kB / 0.4901 GB, free: 2.238 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.878/1.878, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.00101/0.00101, allocations: 92.33 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 10.47 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.5169, allocations: 151.8 MB / 1.378 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5172, allocations: 87.94 kB / 1.378 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.5336, allocations: 5.393 MB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5336, allocations: 0 / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5337, allocations: 0 / 1.383 GB, free: 12.14 MB / 0.8855 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.0003914/0.5341, allocations: 367.3 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5341, allocations: 12.03 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.5342, allocations: 30.56 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.5342, allocations: 3.953 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5343, allocations: 171 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5343, allocations: 4 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.5344, allocations: 3.938 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.5345, allocations: 37.7 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5345, allocations: 7.984 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5345, allocations: 4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5345, allocations: 7.891 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.5346, allocations: 12 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5349, allocations: 256.9 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.5352, allocations: 42.62 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.5352, allocations: 8 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5352, allocations: 38.58 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5352, allocations: 0 / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.5354, allocations: 57.64 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5355, allocations: 55.41 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.5356, allocations: 85 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.5356, allocations: 29.64 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.5357, allocations: 88.05 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.5357, allocations: 15.89 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.5357, allocations: 0 / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5359, allocations: 314.8 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.5359, allocations: 8 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.5359, allocations: 21.7 kB / 1.384 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.536, allocations: 7.938 kB / 1.384 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.536, allocations: 0 / 1.384 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.5361, allocations: 65.59 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5361, allocations: 4 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5361, allocations: 0 / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5361, allocations: 4 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.5362, allocations: 11.89 kB / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5362, allocations: 4 kB / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.5362, allocations: 0 / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5363, allocations: 0 / 1.385 GB, free: 10.17 MB / 0.8855 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 9.744e-05/0.5364, allocations: 119.4 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.5364, allocations: 4.438 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.5366, allocations: 65.17 kB / 1.385 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5366, allocations: 0 / 1.385 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5366, allocations: 3.953 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5366, allocations: 3.938 kB / 1.385 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.5368, allocations: 157.7 kB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5368, allocations: 3.938 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.5368, allocations: 4 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5368, allocations: 3.984 kB / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5368, allocations: 0 / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5369, allocations: 8 kB / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5369, allocations: 0 / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.537, allocations: 151.5 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.5371, allocations: 77.11 kB / 1.385 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.5371, allocations: 4 kB / 1.385 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.5371, allocations: 0 / 1.385 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.5372, allocations: 8 kB / 1.385 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.5372, allocations: 4 kB / 1.385 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.5372, allocations: 83.27 kB / 1.385 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5372, allocations: 3.938 kB / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002781/0.5375, allocations: 23.95 kB / 1.385 GB, free: 9.355 MB / 0.8855 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.0005587/0.5381, allocations: 0.7124 MB / 1.386 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.5382, allocations: 23.94 kB / 1.386 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5382, allocations: 0 / 1.386 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.5382, allocations: 11.98 kB / 1.386 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.5384, allocations: 8 kB / 1.386 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.5388, allocations: 170.1 kB / 1.386 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.5392, allocations: 0.677 MB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.5392, allocations: 12.05 kB / 1.387 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.5392, allocations: 11.44 kB / 1.387 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.5393, allocations: 0 / 1.387 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.5522, allocations: 1.165 MB / 1.388 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5524, allocations: 211.9 kB / 1.388 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.133, allocations: 0 / 1.388 GB, free: 6.398 MB / 0.8855 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