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.001816/0.001816, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.001615/0.001615, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.374/1.374, 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.236/2.236, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.64 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3163, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002283/0.3186, allocations: 1.291 MB / 0.9524 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.3195, allocations: 0.5897 MB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.3196, allocations: 0 / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3196, allocations: 7.938 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.3197, allocations: 11.92 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.3201, allocations: 143.2 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.3202, allocations: 19.88 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.3203, allocations: 7.984 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.3203, allocations: 7.938 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.3203, allocations: 11.98 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3204, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.3208, allocations: 339.3 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.3209, allocations: 11.98 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.3209, allocations: 7.938 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3212, allocations: 147.6 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3212, allocations: 0 / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3212, allocations: 0 / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3212, allocations: 0 / 0.9536 GB, free: 5.457 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004686/0.3217, allocations: 363.3 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3217, allocations: 8.031 kB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.3218, allocations: 16.88 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3219, allocations: 160.4 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3219, allocations: 384 / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3219, allocations: 8.375 kB / 0.9542 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.322, allocations: 42.25 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3221, allocations: 192 / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3221, allocations: 3.938 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3221, allocations: 3.938 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.3221, allocations: 19.92 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.3224, allocations: 252.9 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3226, allocations: 50.56 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.3227, allocations: 20.84 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3227, allocations: 0 / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3227, allocations: 34.56 kB / 0.9546 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3227, allocations: 4 kB / 0.9546 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.3229, allocations: 57.62 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.3229, allocations: 51.41 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.323, allocations: 98.03 kB / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.323, allocations: 29.7 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3231, allocations: 88.12 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.3231, allocations: 11.75 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.3231, allocations: 17.72 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.3232, allocations: 314.8 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.3233, allocations: 11.98 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.3233, allocations: 21.72 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.3233, allocations: 29.66 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3234, allocations: 3.984 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.129e-05/0.3234, allocations: 57.58 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3235, allocations: 11.98 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3235, allocations: 4.031 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3235, allocations: 0 / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.3235, allocations: 8 kB / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3236, allocations: 0 / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.3236, allocations: 3.906 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3236, allocations: 4 kB / 0.9554 GB, free: 3.445 MB / 0.7325 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.292e-05/0.3237, allocations: 116.8 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3237, allocations: 4 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.3238, allocations: 65.11 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3238, allocations: 4 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3238, allocations: 0 / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3239, allocations: 0 / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.324, allocations: 161.6 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.324, allocations: 3.938 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.3241, allocations: 16.06 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3241, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.3241, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3241, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3241, allocations: 3.984 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.3242, allocations: 151.5 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.3242, allocations: 85.02 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3243, allocations: 0 / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.3243, allocations: 3.938 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3243, allocations: 0 / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3244, allocations: 8 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.3244, allocations: 79.27 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3244, allocations: 4 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002583/0.3247, allocations: 23.94 kB / 0.9561 GB, free: 2.629 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 (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.0002068/0.3249, allocations: 115.2 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.325, allocations: 20.45 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.325, allocations: 0 / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.325, allocations: 15.94 kB / 0.9562 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3253, allocations: 9.438 kB / 0.9562 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.3256, allocations: 126.9 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3259, allocations: 0.6844 MB / 0.957 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.3259, allocations: 0 / 0.957 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.3259, allocations: 11.44 kB / 0.957 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.326, allocations: 0 / 0.957 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of Templates: time 0.002728/0.3287, allocations: 0.5158 MB / 0.9575 GB, free: 1.078 MB / 0.7325 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 -s cvode -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