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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001118/0.001118, allocations: 183.3 kB / 498.1 MB, free: 5.746 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.493/1.493, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001096/0.001096, allocations: 110.3 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 11.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3207, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.5238, allocations: 151 MB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5241, allocations: 79.95 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.541, allocations: 5.398 MB / 1.376 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.435e-06/0.541, allocations: 7.938 kB / 1.376 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.541, allocations: 0 / 1.376 GB, free: 5.543 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.0004854/0.5415, allocations: 355.3 kB / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5416, allocations: 11.97 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.5416, allocations: 7.859 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5418, allocations: 170.9 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5418, allocations: 4 kB / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.5418, allocations: 0 / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.542, allocations: 41.69 kB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.542, allocations: 4 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.542, allocations: 4 kB / 1.376 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.542, allocations: 0 / 1.376 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.5421, allocations: 11.95 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.5425, allocations: 253 kB / 1.377 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.5427, allocations: 46.56 kB / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.5428, allocations: 12.08 kB / 1.377 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.5428, allocations: 30.56 kB / 1.377 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.5428, allocations: 3.984 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.543, allocations: 57.64 kB / 1.377 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5431, allocations: 59.34 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.5431, allocations: 85 kB / 1.377 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5432, allocations: 25.7 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.5432, allocations: 92.05 kB / 1.377 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.5433, allocations: 19.78 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.5433, allocations: 0 / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5434, allocations: 314.8 kB / 1.377 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.5434, allocations: 8 kB / 1.377 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.5435, allocations: 21.7 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.5435, allocations: 4 kB / 1.377 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5435, allocations: 0 / 1.377 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.5436, allocations: 65.62 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5437, allocations: 4 kB / 1.377 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5437, allocations: 0 / 1.377 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.5437, allocations: 4 kB / 1.377 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.5437, allocations: 4 kB / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5438, allocations: 7.953 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.5438, allocations: 3.938 kB / 1.377 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5438, allocations: 0 / 1.377 GB, free: 3.629 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 9.948e-05/0.5439, allocations: 117.8 kB / 1.377 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.5439, allocations: 7.969 kB / 1.377 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.5441, allocations: 68.97 kB / 1.378 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5441, allocations: 0 / 1.378 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5441, allocations: 0 / 1.378 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5441, allocations: 3.953 kB / 1.378 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.5443, allocations: 157.7 kB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5443, allocations: 128 / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.5444, allocations: 11.98 kB / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5444, allocations: 0 / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.5444, allocations: 4 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5444, allocations: 4 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5444, allocations: 0 / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.5446, allocations: 151.4 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.5446, allocations: 77.11 kB / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.5446, allocations: 0 / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.5447, allocations: 0 / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.5447, allocations: 12.5 kB / 1.378 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.5447, allocations: 4 kB / 1.378 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.5448, allocations: 75.28 kB / 1.378 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5448, allocations: 4 kB / 1.378 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002973/0.5451, allocations: 23.94 kB / 1.378 GB, free: 2.816 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.0002476/0.5453, allocations: 131.1 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.5455, allocations: 27.91 kB / 1.378 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5455, allocations: 0 / 1.378 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.5455, allocations: 12.05 kB / 1.378 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.5457, allocations: 8 kB / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.5461, allocations: 136.5 kB / 1.378 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.5464, allocations: 0.677 MB / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.5465, allocations: 8 kB / 1.379 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.5465, allocations: 7.438 kB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/0.5465, allocations: 0 / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.002964/0.5495, allocations: 0.4889 MB / 1.379 GB, free: 1.266 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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 & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches