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.001537/0.001537, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001714/0.001714, allocations: 212.9 kB / 23 MB, free: 4.934 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 65.55 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002463/0.3146, allocations: 1.302 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3156, allocations: 0.5216 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.3156, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.3157, allocations: 3.938 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.3157, allocations: 3.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.3163, allocations: 139.4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.3163, allocations: 19.94 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.3164, allocations: 7.922 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.3164, allocations: 7.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.3164, allocations: 8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3164, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.3169, allocations: 283.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3169, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.3169, allocations: 11.94 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3172, allocations: 139.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3172, allocations: 7.938 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3172, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3172, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 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.0004693/0.3177, allocations: 287.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3177, allocations: 12.03 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.3177, allocations: 0.9375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3179, allocations: 114.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3179, allocations: 384 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.3179, allocations: 384 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.318, allocations: 42.27 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.318, allocations: 192 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.318, allocations: 3.938 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.318, allocations: 7.984 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.3181, allocations: 15.94 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.3184, allocations: 196.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3186, allocations: 54.67 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.3186, allocations: 16.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3186, allocations: 3.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3187, allocations: 34.56 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3187, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000189/0.3189, allocations: 61.58 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3189, allocations: 55.41 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.319, allocations: 97.84 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.319, allocations: 29.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.3191, allocations: 84.14 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.3191, allocations: 11.91 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3191, allocations: 21.7 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3192, allocations: 310.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.3193, allocations: 8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.3193, allocations: 25.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.3194, allocations: 29.66 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3194, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.481e-05/0.3195, allocations: 57.62 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3195, allocations: 8.031 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3195, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3195, allocations: 3.938 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.3195, allocations: 8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.3195, allocations: 3.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.3196, allocations: 7.891 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3196, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 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 8.206e-05/0.3197, allocations: 114.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.3197, allocations: 7.938 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.3198, allocations: 61.3 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3198, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3198, allocations: 7.984 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.3198, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.3199, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.3199, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3199, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001209/0.32, allocations: 129.4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001662/0.3202, allocations: 234.7 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.441e-05/0.3202, allocations: 8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.3203, allocations: 83.22 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3203, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005069/0.3208, allocations: 151.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004862/0.3213, allocations: 0.5663 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Templates: time 0.003805/0.3251, allocations: 1.208 MB / 1.334 GB, free: 10.07 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.330301337999117]