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.00176/0.00176, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001952/0.001952, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.507/2.507, allocations: 437.1 MB / 0.7111 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 64.56 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002538/0.3073, allocations: 1.291 MB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.3083, allocations: 0.597 MB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.3083, allocations: 0 / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.3083, allocations: 3.984 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.3084, allocations: 11.92 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.3089, allocations: 140.9 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.309, allocations: 15.94 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.309, allocations: 11.98 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.309, allocations: 7.938 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.3091, allocations: 11.98 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3091, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.3097, allocations: 347.2 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3097, allocations: 4 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3098, allocations: 11.92 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.31, allocations: 140 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.31, allocations: 4 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.016e-06/0.31, allocations: 3.984 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.31, allocations: 0 / 1.02 GB, free: 8.02 MB / 0.795 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.0004611/0.3105, allocations: 363.3 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3105, allocations: 12.92 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.3106, allocations: 4.938 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3107, allocations: 164.4 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3107, allocations: 4.375 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3107, allocations: 4.375 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3109, allocations: 42.27 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3109, allocations: 4.125 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3109, allocations: 7.922 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3109, allocations: 3.938 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.311, allocations: 12 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.3113, allocations: 248.9 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3115, allocations: 58.55 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.3115, allocations: 20.84 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3116, allocations: 4 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3116, allocations: 34.5 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3116, allocations: 0 / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.3118, allocations: 53.69 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3118, allocations: 55.41 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.3119, allocations: 101.8 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3119, allocations: 29.7 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.312, allocations: 80.14 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.312, allocations: 11.75 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3121, allocations: 17.72 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3122, allocations: 318.8 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.3123, allocations: 8 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.3123, allocations: 21.66 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.3123, allocations: 33.7 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3124, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.3125, allocations: 69.47 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3125, allocations: 4 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3125, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3125, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.3126, allocations: 11.94 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3126, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.3126, allocations: 8.031 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3126, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 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.775e-05/0.3127, allocations: 117.8 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3127, allocations: 3.984 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.3129, allocations: 61.12 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3129, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3129, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3129, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3131, allocations: 165.6 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3131, allocations: 4.125 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.3131, allocations: 8.469 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3132, allocations: 0 / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3132, allocations: 3.984 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3132, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3132, allocations: 4 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.3133, allocations: 155.3 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3134, allocations: 89.05 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3134, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.3135, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.3135, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3135, allocations: 8 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.3136, allocations: 79.27 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3136, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002534/0.3138, allocations: 23.94 kB / 1.023 GB, free: 5.195 MB / 0.795 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.0001774/0.314, allocations: 115.2 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.3141, allocations: 35.92 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3141, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.3141, allocations: 8 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.3144, allocations: 11.94 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.3147, allocations: 152.4 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.315, allocations: 0.6729 MB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.315, allocations: 15.44 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of SimCode: time 2.043e-06/0.315, allocations: 3.938 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of Templates: time 0.002276/0.3173, allocations: 0.6901 MB / 1.025 GB, free: 3.434 MB / 0.795 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=400 -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/jenkins1/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