Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009788/0.0009788, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001403/0.001403, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 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.9107/0.9107, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.299/2.299, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.852e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002673/0.002701, allocations: 1.356 MB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.003601, allocations: 0.5525 MB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.003628, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.00365, allocations: 3.938 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.003703, allocations: 4 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.004199, allocations: 151.2 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.004254, allocations: 23.86 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.004299, allocations: 8 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.004337, allocations: 15.97 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.004392, allocations: 7.984 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.004406, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.004719, allocations: 263.4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.004735, allocations: 8 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.004751, allocations: 11.92 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.004943, allocations: 151.5 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.004948, allocations: 3.938 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.463e-06/0.00495, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.004954, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 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.0003079/0.005262, allocations: 264.5 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.005297, allocations: 12.62 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.005321, allocations: 0.9375 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.005398, allocations: 109.8 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.005407, allocations: 4.375 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.005417, allocations: 4.375 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.628e-05/0.005483, allocations: 38.25 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.005489, allocations: 192 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.005496, allocations: 384 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005501, allocations: 384 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.005524, allocations: 19.86 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.005715, allocations: 152.3 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.005844, allocations: 38.62 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.00586, allocations: 16.84 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005874, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.005892, allocations: 34.56 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.005893, allocations: 0 / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.724e-05/0.00599, allocations: 45.62 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.006018, allocations: 55.34 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.006066, allocations: 102.7 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.006076, allocations: 29.7 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.006112, allocations: 92.03 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.006119, allocations: 11.89 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.006143, allocations: 13.72 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.006232, allocations: 326.8 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.00624, allocations: 0 / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.006263, allocations: 21.7 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.006295, allocations: 30 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.006297, allocations: 0 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.563e-05/0.006353, allocations: 41.69 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.006366, allocations: 8 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.006371, allocations: 7.875 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006384, allocations: 0 / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.006428, allocations: 19.95 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.006431, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.006445, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.00645, allocations: 4 kB / 0.8425 GB, free: 10 MB / 0.8073 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.95e-05/0.006499, allocations: 109.8 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.006513, allocations: 4 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.193e-05/0.006595, allocations: 53.34 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006596, allocations: 3.938 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006599, allocations: 7.938 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006603, allocations: 0 / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.728e-05/0.00668, allocations: 69.84 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006681, allocations: 0 / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.006701, allocations: 8 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006702, allocations: 0 / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.006705, allocations: 0 / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006706, allocations: 0 / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.006708, allocations: 3.984 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/0.006775, allocations: 143.5 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.006781, allocations: 7.953 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-06/0.006788, allocations: 0 / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.006811, allocations: 128 / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.006821, allocations: 8 kB / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.006824, allocations: 7.938 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.18e-05/0.006836, allocations: 12.78 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006836, allocations: 0 / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001373/0.006973, allocations: 23.94 kB / 0.843 GB, free: 9.492 MB / 0.8073 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.0001381/0.007111, allocations: 96.28 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.732e-05/0.007168, allocations: 20.84 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.007172, allocations: 0 / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.007183, allocations: 16.8 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.569e-05/0.007278, allocations: 4.062 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.007483, allocations: 121.1 kB / 0.8432 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.007512, allocations: 59.3 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.007535, allocations: 0 / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.007564, allocations: 51.38 kB / 0.8433 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.007564, allocations: 4 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of Templates: time 0.002155/0.00972, allocations: 0.5899 MB / 0.8439 GB, free: 8.484 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.10406567202881]