Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9367/0.9367, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.425e-05, allocations: 3.188 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001694/0.001708, allocations: 1.396 MB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.002425, allocations: 0.5688 MB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.00245, allocations: 5.156 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.002467, allocations: 0 / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.002515, allocations: 2.406 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.002942, allocations: 147.1 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.002999, allocations: 20.5 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.003039, allocations: 0 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.003083, allocations: 20.72 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.003143, allocations: 11.92 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.003156, allocations: 0.6562 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.003492, allocations: 267.5 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.003507, allocations: 8.672 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.003522, allocations: 4 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.003713, allocations: 168.2 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003716, allocations: 0 / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003716, allocations: 1.312 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.00372, allocations: 0 / 0.7626 GB, free: 4.027 MB / 0.7136 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.0002572/0.003977, allocations: 252.3 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004008, allocations: 12.59 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.004028, allocations: 0.9375 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.004099, allocations: 110.9 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.00411, allocations: 4.375 kB / 0.763 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.004117, allocations: 4.375 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.902e-05/0.004176, allocations: 35.34 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004182, allocations: 192 / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.004188, allocations: 4.375 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004193, allocations: 1.625 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.004219, allocations: 19.86 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.004404, allocations: 153.5 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.004519, allocations: 38.55 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.004534, allocations: 11.61 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.004547, allocations: 4 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.004566, allocations: 30.56 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004567, allocations: 0 / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001028/0.004669, allocations: 49.62 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.004695, allocations: 55.34 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.004744, allocations: 102.7 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.004753, allocations: 32.42 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.004793, allocations: 84.14 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.004803, allocations: 15.83 kB / 0.7636 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.004827, allocations: 21.7 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.00491, allocations: 314.8 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.004917, allocations: 0 / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.004935, allocations: 25.7 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.004965, allocations: 31.34 kB / 0.764 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004967, allocations: 0 / 0.764 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.049e-05/0.005018, allocations: 50.22 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.005028, allocations: 4 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005032, allocations: 2.156 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.005043, allocations: 0 / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.018e-05/0.005074, allocations: 15.92 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.005077, allocations: 0 / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.005092, allocations: 8 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005096, allocations: 0 / 0.764 GB, free: 2.41 MB / 0.7136 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 4.378e-05/0.00514, allocations: 108.3 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.005154, allocations: 4 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.00523, allocations: 57.25 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005231, allocations: 4 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.005234, allocations: 3.938 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005236, allocations: 2.094 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.005345, allocations: 61.91 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005346, allocations: 0 / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.005365, allocations: 15.98 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005367, allocations: 0 / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.00537, allocations: 1.031 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005371, allocations: 0 / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005372, allocations: 0 / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.611e-05/0.005438, allocations: 144.4 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.005443, allocations: 0 / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-06/0.00545, allocations: 0 / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.005476, allocations: 2.469 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.005491, allocations: 11.92 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.005493, allocations: 0 / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.326e-05/0.005506, allocations: 20.73 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005506, allocations: 0 / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001462/0.005653, allocations: 19.88 kB / 0.7645 GB, free: 1.922 MB / 0.7136 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.0001214/0.005774, allocations: 98.78 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.005832, allocations: 20.84 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.005835, allocations: 0 / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.005848, allocations: 16.78 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.005958, allocations: 11.98 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.006174, allocations: 118.4 kB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.006204, allocations: 51.36 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.006228, allocations: 6 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.00626, allocations: 55.36 kB / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.00626, allocations: 0.6875 kB / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of Templates: time 0.002009/0.008269, allocations: 0.5915 MB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.081345577258617]