Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 103.9 kB / 16.36 MB, free: 6.285 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.001759/0.001758, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.555/1.555, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 69.61 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2557, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002389/0.2582, allocations: 1.246 MB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2592, allocations: 0.5897 MB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.2593, allocations: 3.938 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.2593, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.2593, allocations: 3.938 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.2599, allocations: 139.4 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.2599, allocations: 7.984 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.26, allocations: 4 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.26, allocations: 4 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.2601, allocations: 7.984 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2601, allocations: 0 / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.2606, allocations: 347.3 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.2606, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2606, allocations: 4 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.2609, allocations: 147.6 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2609, allocations: 0 / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2609, allocations: 0 / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2609, allocations: 0 / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004202/0.2613, allocations: 363.3 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2614, allocations: 8.031 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.2614, allocations: 8.938 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2615, allocations: 160.4 kB / 0.9541 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2615, allocations: 384 / 0.9541 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2615, allocations: 4.312 kB / 0.9541 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.2616, allocations: 34.25 kB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2617, allocations: 192 / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2617, allocations: 3.938 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2617, allocations: 0 / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.2617, allocations: 4 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.2619, allocations: 153.7 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.2619, allocations: 26.59 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.262, allocations: 12.86 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.262, allocations: 0 / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.262, allocations: 30.56 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.262, allocations: 0 / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.2622, allocations: 49.73 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2622, allocations: 51.41 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.2623, allocations: 93.84 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2623, allocations: 29.7 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.2624, allocations: 84.08 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.2624, allocations: 7.906 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.2624, allocations: 13.72 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2626, allocations: 311 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.2626, allocations: 15.86 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.2626, allocations: 8 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.2626, allocations: 8.859 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2627, allocations: 0 / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.409e-05/0.2627, allocations: 37.7 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2627, allocations: 8 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2628, allocations: 3.938 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2628, allocations: 4 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2629, allocations: 16.08 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003989/0.2633, allocations: 0.5859 MB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.2634, allocations: 0 / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.2634, allocations: 0 / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.2635, allocations: 119.8 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.2635, allocations: 96 / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2636, allocations: 48.77 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2636, allocations: 0 / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2636, allocations: 0 / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2636, allocations: 3.984 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.2637, allocations: 153.6 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2637, allocations: 0 / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.2638, allocations: 11.98 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2638, allocations: 0 / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2638, allocations: 0 / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003587/0.2642, allocations: 0.586 MB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2642, allocations: 3.969 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.2643, allocations: 69.06 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.2643, allocations: 81.02 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2644, allocations: 0 / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.2644, allocations: 4.125 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.2644, allocations: 15.92 kB / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2644, allocations: 0 / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.2644, allocations: 79.27 kB / 0.9567 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2645, allocations: 3.938 kB / 0.9568 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000196/0.2647, allocations: 8 kB / 0.9568 GB, free: 1.891 MB / 0.7325 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001774/0.2648, allocations: 115.2 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.265, allocations: 16.09 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.265, allocations: 4 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.673e-05/0.2651, allocations: 19.92 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.2653, allocations: 0 / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.2656, allocations: 110 kB / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2659, allocations: 0.6769 MB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.2659, allocations: 4 kB / 0.9577 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.2659, allocations: 7.438 kB / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2659, allocations: 0 / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of Templates: time 0.0025/0.2684, allocations: 450.6 kB / 0.9581 GB, free: 464 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches