Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002183/0.002183, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.08 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.7498, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002773/0.7526, allocations: 1.357 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.7538, allocations: 0.6073 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.7538, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.7538, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.7539, allocations: 3.984 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.7545, allocations: 115.6 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.7546, allocations: 27.8 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.7546, allocations: 8 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.7546, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.7547, allocations: 11.92 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.7547, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.7552, allocations: 343.3 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.7553, allocations: 8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.7553, allocations: 7.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.7556, allocations: 145.7 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.7556, allocations: 3.938 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.185e-06/0.7556, allocations: 0 / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.7556, allocations: 3.938 kB / 1.019 GB, free: 148 kB / 0.7637 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.0004952/0.7561, allocations: 355.5 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7561, allocations: 12.03 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.7562, allocations: 4.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.7563, allocations: 168.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.7563, allocations: 384 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.7563, allocations: 4.375 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.7565, allocations: 42.25 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.7565, allocations: 192 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.7565, allocations: 11.94 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7565, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.7565, allocations: 15.88 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.7569, allocations: 256.9 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.7572, allocations: 54.55 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.7572, allocations: 16.86 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.7573, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7573, allocations: 34.56 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.7573, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.7575, allocations: 61.81 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.7575, allocations: 51.41 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.7576, allocations: 101.8 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.7576, allocations: 25.7 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.7577, allocations: 84.14 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.7577, allocations: 11.81 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.7578, allocations: 25.7 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7579, allocations: 310.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.7579, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.7579, allocations: 21.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.758, allocations: 33.66 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.758, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.778e-05/0.7581, allocations: 65.47 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7581, allocations: 8.031 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7581, allocations: 7.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7582, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.7582, allocations: 8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7582, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.7583, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.7583, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 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 8.245e-05/0.7584, allocations: 114.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.7584, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.7585, allocations: 69.12 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.7586, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7586, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7586, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.7587, allocations: 161.6 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7587, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.7588, allocations: 7.984 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7588, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7588, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7588, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7588, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.759, allocations: 151.5 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.759, allocations: 77.11 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.759, allocations: 11.94 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.7591, allocations: 0 / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.7591, allocations: 7.922 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.7591, allocations: 0 / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.7592, allocations: 87.61 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7592, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002443/0.7594, allocations: 16 kB / 1.022 GB, free: 13.32 MB / 0.7794 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.0002124/0.7596, allocations: 119.2 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.7598, allocations: 24.12 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7598, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.7598, allocations: 16.03 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.76, allocations: 16.02 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.7604, allocations: 132.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.7609, allocations: 0.6731 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.7609, allocations: 11.97 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.761, allocations: 11.44 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of SimCode: time 1.8e-07/0.761, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002684/0.7636, allocations: 0.4963 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches