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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 194.3 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6747, allocations: 140.4 MB / 0.9489 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002594/0.6773, allocations: 1.352 MB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.6782, allocations: 0.6094 MB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.6783, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.6783, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.6784, allocations: 9.266 kB / 0.9508 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.6788, allocations: 118.8 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.6788, allocations: 21.17 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.6789, allocations: 2.562 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.6789, allocations: 7.719 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.6789, allocations: 11.77 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.679, allocations: 1.406 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.6794, allocations: 345.3 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.6794, allocations: 7.938 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.6795, allocations: 7.875 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.6797, allocations: 155 kB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6797, allocations: 0 / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6797, allocations: 0 / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6797, allocations: 1.219 kB / 0.9515 GB, free: 7.398 MB / 0.7169 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.0003624/0.6801, allocations: 354.6 kB / 0.9518 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6801, allocations: 13.25 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.6802, allocations: 2.406 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.6802, allocations: 169.6 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6803, allocations: 1.656 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.6803, allocations: 5.594 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.6804, allocations: 45.59 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6804, allocations: 192 / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6804, allocations: 7.938 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.6804, allocations: 5.062 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.6805, allocations: 17.91 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.6808, allocations: 252.5 kB / 0.9523 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.681, allocations: 54.5 kB / 0.9524 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.681, allocations: 16.33 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.681, allocations: 0 / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.6811, allocations: 36.28 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.6811, allocations: 0 / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.6812, allocations: 59.69 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.6813, allocations: 52.5 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.6813, allocations: 100.9 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.6813, allocations: 26.77 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.6814, allocations: 85.27 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.6814, allocations: 8.906 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.6814, allocations: 26.58 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.6815, allocations: 311.9 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.6815, allocations: 8.25 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.6815, allocations: 19.05 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.6816, allocations: 30.19 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6816, allocations: 0 / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.908e-05/0.6817, allocations: 67.98 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6817, allocations: 8.688 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6817, allocations: 1.281 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6817, allocations: 0 / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.6818, allocations: 7.625 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6818, allocations: 1.219 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.6818, allocations: 9.062 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.6818, allocations: 9.266 kB / 0.9532 GB, free: 5.559 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.6819, allocations: 115.1 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.6819, allocations: 6.25 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.682, allocations: 59.75 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.682, allocations: 0.875 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.682, allocations: 0 / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6821, allocations: 1.125 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.6822, allocations: 159.1 kB / 0.9536 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6822, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.6822, allocations: 13.58 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6822, allocations: 1.062 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.6822, allocations: 0 / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6822, allocations: 4.969 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6822, allocations: 3.938 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.709e-05/0.6823, allocations: 147.2 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.6824, allocations: 82.11 kB / 0.9538 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.6824, allocations: 5.062 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.6824, allocations: 1.125 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.6825, allocations: 5.109 kB / 0.9538 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.6825, allocations: 5.188 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.6825, allocations: 82.22 kB / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6825, allocations: 0 / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.6827, allocations: 18.31 kB / 0.9539 GB, free: 4.828 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.6829, allocations: 121.8 kB / 0.954 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.683, allocations: 26.7 kB / 0.954 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.683, allocations: 1.094 kB / 0.954 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.683, allocations: 11.38 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.6833, allocations: 14.8 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.6835, allocations: 133.5 kB / 0.9542 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.6837, allocations: 0.6746 MB / 0.9549 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.6837, allocations: 9.594 kB / 0.9549 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.6837, allocations: 14.72 kB / 0.9549 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6837, allocations: 0 / 0.9549 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.002718/0.6864, allocations: 0.4989 MB / 0.9554 GB, free: 3.586 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches