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.001556/0.001556, allocations: 117.2 kB / 17.13 MB, free: 5.945 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.001711/0.001711, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.431/1.431, allocations: 230.6 MB / 253.5 MB, free: 15.14 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 2.848/2.848, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] 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.001951/0.001951, allocations: 71.88 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8596, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001929/0.8615, allocations: 1.312 MB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007581/0.8623, allocations: 0.5807 MB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.8623, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.8623, allocations: 6.453 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.8624, allocations: 3.938 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.8628, allocations: 151.3 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.8629, allocations: 22.58 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.8629, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.8629, allocations: 9.719 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.863, allocations: 10.11 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.863, allocations: 2.469 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.8634, allocations: 344.4 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.8634, allocations: 0 / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.8634, allocations: 14.03 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.8636, allocations: 149.6 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8636, allocations: 3.938 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8636, allocations: 4 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.8636, allocations: 0 / 1.324 GB, free: 23.46 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.0003402/0.8639, allocations: 362.8 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.864, allocations: 12.36 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.864, allocations: 4.875 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.161e-05/0.8641, allocations: 163.2 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.8641, allocations: 384 / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.8641, allocations: 3.188 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.302e-05/0.8642, allocations: 51.12 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8642, allocations: 4.188 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.8642, allocations: 6.781 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.8642, allocations: 0 / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.8643, allocations: 15.42 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.8645, allocations: 250 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.8647, allocations: 49.09 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.8647, allocations: 18.39 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.8647, allocations: 5.984 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.033e-05/0.8647, allocations: 30.56 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.8647, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000151/0.8649, allocations: 60.39 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.8649, allocations: 51.41 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.962e-05/0.8649, allocations: 103.2 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.8649, allocations: 29.7 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.865, allocations: 84.08 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-06/0.865, allocations: 14.66 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.865, allocations: 16.44 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.865, allocations: 316.8 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.8651, allocations: 6.594 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.8651, allocations: 19.12 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.8651, allocations: 36.09 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8651, allocations: 3.062 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.54e-05/0.8652, allocations: 64.31 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8652, allocations: 9.469 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.8652, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8652, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.8653, allocations: 11.92 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8653, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.8653, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.8653, allocations: 6.625 kB / 1.326 GB, free: 21.68 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 4.101e-05/0.8654, allocations: 120.3 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.8654, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.8655, allocations: 63.67 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8655, allocations: 3.109 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8655, allocations: 3.984 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8655, allocations: 0 / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.8656, allocations: 163.1 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8656, allocations: 7.938 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.8657, allocations: 8.531 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.8657, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.8657, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8657, allocations: 2.781 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8657, allocations: 128 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.961e-05/0.8657, allocations: 152.5 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.8658, allocations: 83.95 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.8658, allocations: 7.328 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.8658, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.8658, allocations: 6.625 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8658, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.8658, allocations: 78.28 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8658, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000237/0.8661, allocations: 25.84 kB / 1.327 GB, free: 20.95 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.0001404/0.8662, allocations: 117.9 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.995e-05/0.8663, allocations: 29.66 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8663, allocations: 7.938 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.8663, allocations: 7.938 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.8665, allocations: 3.938 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.8668, allocations: 157 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.8669, allocations: 0.6774 MB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.8669, allocations: 10.16 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8669, allocations: 0 / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of Templates: time 0.001989/0.8689, allocations: 0.6962 MB / 1.329 GB, free: 19.93 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/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: 10.740487824994489]