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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 190.2 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.92/2.92, allocations: 495.8 MB / 0.7831 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002049/0.002049, allocations: 67.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001928/1.085, allocations: 1.288 MB / 1.308 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008187/1.086, allocations: 0.595 MB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/1.086, allocations: 0 / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/1.086, allocations: 7.172 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/1.086, allocations: 0 / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/1.086, allocations: 155.9 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/1.086, allocations: 19.89 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/1.086, allocations: 6.875 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/1.087, allocations: 6.781 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/1.087, allocations: 12.98 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/1.087, allocations: 0 / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/1.087, allocations: 282.8 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/1.087, allocations: 3.094 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/1.087, allocations: 18.3 kB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/1.087, allocations: 138.8 kB / 1.309 GB, free: 32.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.087, allocations: 0 / 1.309 GB, free: 32.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.087, allocations: 0 / 1.309 GB, free: 32.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.087, allocations: 0 / 1.309 GB, free: 32.24 MB / 1.061 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/1.088, allocations: 286.6 kB / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.088, allocations: 8.25 kB / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/1.088, allocations: 3.875 kB / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/1.088, allocations: 109.4 kB / 1.31 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/1.088, allocations: 4.375 kB / 1.31 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/1.088, allocations: 3.656 kB / 1.31 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/1.088, allocations: 39.94 kB / 1.31 GB, free: 31.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.088, allocations: 192 / 1.31 GB, free: 31.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.088, allocations: 3.938 kB / 1.31 GB, free: 31.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.088, allocations: 3.938 kB / 1.31 GB, free: 31.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/1.088, allocations: 24.27 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/1.088, allocations: 221.7 kB / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/1.088, allocations: 50 kB / 1.31 GB, free: 31.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/1.088, allocations: 14.77 kB / 1.31 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/1.088, allocations: 3.406 kB / 1.31 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/1.088, allocations: 30.56 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.088, allocations: 0 / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001569/1.089, allocations: 60.56 kB / 1.31 GB, free: 31.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/1.089, allocations: 58.12 kB / 1.31 GB, free: 31.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/1.089, allocations: 96.42 kB / 1.31 GB, free: 31.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/1.089, allocations: 25.7 kB / 1.31 GB, free: 31.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/1.089, allocations: 90.09 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/1.089, allocations: 11.84 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.089, allocations: 18.94 kB / 1.31 GB, free: 31.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.089, allocations: 318.3 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/1.089, allocations: 5.156 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/1.089, allocations: 23.41 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/1.089, allocations: 36.44 kB / 1.311 GB, free: 30.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.089, allocations: 0 / 1.311 GB, free: 30.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.837e-05/1.089, allocations: 65.38 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.089, allocations: 2.906 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.089, allocations: 6.875 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.089, allocations: 3.938 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/1.089, allocations: 10 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.089, allocations: 6.219 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/1.089, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/1.089, allocations: 2.562 kB / 1.311 GB, free: 30.66 MB / 1.061 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.159e-05/1.089, allocations: 113.8 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/1.089, allocations: 2.562 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/1.089, allocations: 72.72 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/1.089, allocations: 0 / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.089, allocations: 4 kB / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/1.089, allocations: 480 / 1.311 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/1.089, allocations: 133.6 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.089, allocations: 0 / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/1.089, allocations: 11.78 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.089, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/1.089, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.089, allocations: 3.422 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.089, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/1.09, allocations: 159.6 kB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/1.09, allocations: 2.656 kB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/1.09, allocations: 4 kB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/1.09, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/1.09, allocations: 5.859 kB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/1.09, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.064e-05/1.09, allocations: 78.03 kB / 1.311 GB, free: 30.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.09, allocations: 0 / 1.311 GB, free: 30.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002429/1.09, allocations: 21.22 kB / 1.311 GB, free: 30.07 MB / 1.061 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.0001554/1.09, allocations: 127.1 kB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001006/1.09, allocations: 20.52 kB / 1.312 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.09, allocations: 0 / 1.312 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/1.09, allocations: 12.53 kB / 1.312 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/1.09, allocations: 10.34 kB / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/1.091, allocations: 119 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/1.091, allocations: 0.6818 MB / 1.312 GB, free: 29.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.783e-05/1.091, allocations: 3.656 kB / 1.312 GB, free: 29.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/1.091, allocations: 7.438 kB / 1.312 GB, free: 29.13 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/1.091, allocations: 2.938 kB / 1.312 GB, free: 29.13 MB / 1.061 GB Notification: Performance of Templates: time 0.002787/1.094, allocations: 0.5325 MB / 1.313 GB, free: 29.04 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 9.623555552214384]