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: 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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.183/2.183, allocations: 390.5 MB / 398 MB, free: 11.03 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.001049/0.001049, allocations: 186.7 kB / 491.2 MB, free: 1.613 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.551/1.551, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001192/0.001192, allocations: 91.94 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.84e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2825, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9957/1.278, allocations: 151.1 MB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.279, allocations: 79.06 kB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/1.294, allocations: 5.383 MB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/1.294, allocations: 0 / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.294, allocations: 3.875 kB / 1.365 GB, free: 32.94 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.0003615/1.294, allocations: 351.7 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.295, allocations: 10.52 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/1.295, allocations: 3.953 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/1.295, allocations: 174.5 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.295, allocations: 4 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/1.295, allocations: 0 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.523e-05/1.295, allocations: 14.58 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.656e-05/1.295, allocations: 32.8 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.295, allocations: 0 / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/1.295, allocations: 0 / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.295, allocations: 7.609 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/1.295, allocations: 234.5 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/1.295, allocations: 44.02 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/1.295, allocations: 15.83 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/1.296, allocations: 6.266 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/1.296, allocations: 30.56 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 2.295e-06/1.296, allocations: 3.984 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/1.296, allocations: 50.66 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/1.296, allocations: 51.41 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/1.296, allocations: 102.4 kB / 1.366 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/1.296, allocations: 25.7 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/1.296, allocations: 84.08 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/1.296, allocations: 15.66 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/1.296, allocations: 0 / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.296, allocations: 313.6 kB / 1.367 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/1.296, allocations: 11.16 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/1.296, allocations: 17.38 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/1.296, allocations: 14.06 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.296, allocations: 0 / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.088e-05/1.296, allocations: 50.59 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.296, allocations: 9.375 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.296, allocations: 0 / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.296, allocations: 0 / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/1.296, allocations: 14.69 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/1.296, allocations: 0 / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/1.296, allocations: 7.859 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/1.296, allocations: 3.875 kB / 1.367 GB, free: 31.3 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.218e-05/1.296, allocations: 104.5 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/1.296, allocations: 3.656 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/1.297, allocations: 55.5 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.297, allocations: 0 / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.297, allocations: 7.875 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.297, allocations: 0 / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/1.297, allocations: 140.4 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.297, allocations: 0 / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/1.297, allocations: 5.156 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.297, allocations: 3.812 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.297, allocations: 1.5 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.297, allocations: 0 / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.297, allocations: 0 / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/1.297, allocations: 152.9 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/1.297, allocations: 77.23 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.297, allocations: 5.312 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/1.297, allocations: 3.844 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/1.297, allocations: 1.406 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/1.297, allocations: 0 / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.213e-05/1.297, allocations: 87.38 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.297, allocations: 0 / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002712/1.297, allocations: 29.16 kB / 1.367 GB, free: 30.66 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.000173/1.298, allocations: 127.7 kB / 1.368 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/1.298, allocations: 23.27 kB / 1.368 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.298, allocations: 3.938 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/1.298, allocations: 12.98 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/1.298, allocations: 8.391 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/1.298, allocations: 55.86 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/1.298, allocations: 0.6798 MB / 1.368 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.693e-05/1.298, allocations: 5.359 kB / 1.368 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/1.298, allocations: 15 kB / 1.368 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.298, allocations: 0 / 1.368 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.002555/1.301, allocations: 480.2 kB / 1.369 GB, free: 29.71 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches