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.01114/0.01114, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.002214/0.002214, allocations: 193 kB / 16.67 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.283/2.283, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8834, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00231/0.8857, allocations: 1.289 MB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.8868, allocations: 0.5935 MB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.8868, allocations: 4 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.8869, allocations: 1.922 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.8869, allocations: 9.094 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.8875, allocations: 144.5 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.8875, allocations: 20.66 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.8876, allocations: 1.906 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.8876, allocations: 5.812 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.8877, allocations: 18.7 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.8877, allocations: 5.094 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.8883, allocations: 341.1 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.8883, allocations: 1.891 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.8884, allocations: 12.59 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.8887, allocations: 146.7 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8887, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8887, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.8887, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 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.0004041/0.8891, allocations: 356.4 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8891, allocations: 9.625 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.8892, allocations: 10.81 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.8893, allocations: 170.4 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8893, allocations: 5.062 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.8893, allocations: 3.031 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.8894, allocations: 43.89 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8894, allocations: 192 / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8894, allocations: 5.062 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.8895, allocations: 0.7969 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.8895, allocations: 16 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.8898, allocations: 252.4 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.89, allocations: 54.52 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.8901, allocations: 21.53 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.8901, allocations: 2.141 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.8901, allocations: 32.05 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.8901, allocations: 4 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001762/0.8903, allocations: 56.7 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.8903, allocations: 52.16 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.8904, allocations: 100.2 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.8904, allocations: 25.7 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.8905, allocations: 89.2 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.8905, allocations: 15.77 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.8905, allocations: 14.5 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.8906, allocations: 321 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.8906, allocations: 8.688 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.8906, allocations: 22.06 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.8907, allocations: 26.45 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8907, allocations: 0 / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.559e-05/0.8908, allocations: 67.69 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8908, allocations: 9.312 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8908, allocations: 1.062 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8909, allocations: 1.094 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.8909, allocations: 8.406 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8909, allocations: 0.7812 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.891, allocations: 5.344 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.891, allocations: 2.172 kB / 1.092 GB, free: 2.133 MB / 0.8575 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 6.369e-05/0.891, allocations: 116.3 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.8911, allocations: 1.828 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.8912, allocations: 66.16 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8912, allocations: 1.422 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8912, allocations: 0.6875 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8913, allocations: 0 / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.8914, allocations: 159.5 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8914, allocations: 0 / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.8914, allocations: 7.141 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8914, allocations: 5.391 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.8915, allocations: 0.7188 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8915, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8915, allocations: 5.516 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.8916, allocations: 159.8 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.8916, allocations: 77.86 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.8916, allocations: 5.766 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.8917, allocations: 4.938 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.8917, allocations: 2.172 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.8917, allocations: 2.453 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.19e-05/0.8917, allocations: 82.08 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8917, allocations: 3.938 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002529/0.892, allocations: 19.17 kB / 1.093 GB, free: 1.414 MB / 0.8575 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.000187/0.8922, allocations: 123.3 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.8923, allocations: 26.05 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8923, allocations: 0 / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.8924, allocations: 9.953 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.8926, allocations: 9.375 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.8929, allocations: 114.9 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.893, allocations: 0.6766 MB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.8931, allocations: 6.938 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.8931, allocations: 14.95 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8931, allocations: 0 / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of Templates: time 0.002972/0.8961, allocations: 0.5139 MB / 1.094 GB, free: 400 kB / 0.8575 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