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.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.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.001079/0.001079, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 182.4 kB / 16.92 MB, free: 6.895 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.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.449/2.449, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003977, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7689, allocations: 142.4 MB / 0.9557 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001365/0.7703, allocations: 1.015 MB / 0.9567 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.7713, allocations: 0.5944 MB / 0.9573 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.7713, allocations: 0 / 0.9573 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.7714, allocations: 1.312 kB / 0.9573 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.7714, allocations: 7.922 kB / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.7718, allocations: 123 kB / 0.9574 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.7719, allocations: 20.92 kB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.772, allocations: 6 kB / 0.9574 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.772, allocations: 4.594 kB / 0.9574 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.7721, allocations: 16.12 kB / 0.9574 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.7721, allocations: 5.281 kB / 0.9575 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.7725, allocations: 335.8 kB / 0.9578 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.7725, allocations: 5.812 kB / 0.9578 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.7726, allocations: 38.03 kB / 0.9578 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.7727, allocations: 94.8 kB / 0.9579 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7728, allocations: 0 / 0.9579 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7728, allocations: 0 / 0.9579 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7728, allocations: 0.9688 kB / 0.9579 GB, free: 6.176 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.0003435/0.7731, allocations: 360.5 kB / 0.9582 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7732, allocations: 9.312 kB / 0.9583 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.7732, allocations: 2.312 kB / 0.9583 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.7733, allocations: 170 kB / 0.9584 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.7733, allocations: 5.656 kB / 0.9584 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.7733, allocations: 1.812 kB / 0.9584 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.7734, allocations: 36.42 kB / 0.9585 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7734, allocations: 5.047 kB / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7735, allocations: 7.938 kB / 0.9585 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7735, allocations: 0.8438 kB / 0.9585 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.7735, allocations: 13.06 kB / 0.9585 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.7738, allocations: 253.1 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.774, allocations: 49.66 kB / 0.9588 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.774, allocations: 21.69 kB / 0.9588 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.7741, allocations: 4 kB / 0.9588 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.7741, allocations: 31.94 kB / 0.9588 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.7741, allocations: 7.922 kB / 0.9588 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001629/0.7742, allocations: 64.28 kB / 0.9589 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.7743, allocations: 55.41 kB / 0.959 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.944e-05/0.7743, allocations: 101.7 kB / 0.9591 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.7743, allocations: 27.02 kB / 0.9591 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.7744, allocations: 84.14 kB / 0.9592 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.7744, allocations: 10.38 kB / 0.9592 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.7744, allocations: 14.59 kB / 0.9592 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.7745, allocations: 316.1 kB / 0.9595 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.7745, allocations: 7.938 kB / 0.9595 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.7745, allocations: 19.47 kB / 0.9595 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.7746, allocations: 37.61 kB / 0.9595 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7746, allocations: 4 kB / 0.9595 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.229e-05/0.7747, allocations: 60.06 kB / 0.9596 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7747, allocations: 7.188 kB / 0.9596 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.7747, allocations: 0 / 0.9596 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7747, allocations: 1.062 kB / 0.9596 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.7748, allocations: 11.88 kB / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7748, allocations: 3.938 kB / 0.9596 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.7748, allocations: 5.062 kB / 0.9596 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.7748, allocations: 2.344 kB / 0.9596 GB, free: 4.336 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 5.59e-05/0.7749, allocations: 114.9 kB / 0.9597 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.7749, allocations: 6.281 kB / 0.9598 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.7751, allocations: 64.11 kB / 0.9598 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.7751, allocations: 1.281 kB / 0.9598 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7751, allocations: 3.938 kB / 0.9598 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7751, allocations: 0 / 0.9598 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.7752, allocations: 158.7 kB / 0.96 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7752, allocations: 1.344 kB / 0.96 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.7753, allocations: 8.656 kB / 0.96 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7753, allocations: 1 kB / 0.96 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.7753, allocations: 1.031 kB / 0.96 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7753, allocations: 3.984 kB / 0.96 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7753, allocations: 1.188 kB / 0.96 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.812e-05/0.7754, allocations: 146.7 kB / 0.9601 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.7754, allocations: 78.3 kB / 0.9602 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.7754, allocations: 1.578 kB / 0.9602 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.7755, allocations: 4 kB / 0.9602 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.7755, allocations: 2.312 kB / 0.9602 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.7755, allocations: 1.25 kB / 0.9602 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.7756, allocations: 93.47 kB / 0.9603 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7756, allocations: 0 / 0.9603 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000244/0.7758, allocations: 22.62 kB / 0.9603 GB, free: 3.602 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.0001795/0.776, allocations: 122.5 kB / 0.9604 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.7761, allocations: 22.67 kB / 0.9605 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7761, allocations: 4.062 kB / 0.9605 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.7761, allocations: 15.47 kB / 0.9605 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.7763, allocations: 5.781 kB / 0.9605 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.7766, allocations: 166.6 kB / 0.9606 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7767, allocations: 0.6745 MB / 0.9613 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.7768, allocations: 14.5 kB / 0.9613 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7768, allocations: 0 / 0.9613 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.002184/0.779, allocations: 0.6887 MB / 0.962 GB, free: 2.246 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/jenkins1/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