Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.001894/0.001894, allocations: 108.3 kB / 19.73 MB, free: 412 kB / 13.93 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.001973/0.001973, allocations: 220.2 kB / 23.03 MB, free: 2.938 MB / 13.93 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.702/1.702, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] 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 3.361/3.361, allocations: 0.4898 GB / 0.7957 GB, free: 2.281 MB / 0.6355 GB " [Timeout remaining time 176] 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.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003904/0.003904, allocations: 75.83 kB / 1.155 GB, free: 156 kB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9801/0.984, allocations: 176.2 MB / 1.327 GB, free: 9.391 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.003065/0.987, allocations: 1.288 MB / 1.329 GB, free: 8.098 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.9882, allocations: 0.5305 MB / 1.329 GB, free: 7.566 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.9882, allocations: 0 / 1.329 GB, free: 7.566 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.9882, allocations: 0 / 1.329 GB, free: 7.566 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.9883, allocations: 7.938 kB / 1.329 GB, free: 7.559 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.9889, allocations: 155.3 kB / 1.329 GB, free: 7.406 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.9889, allocations: 15.92 kB / 1.329 GB, free: 7.391 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.989, allocations: 0 / 1.329 GB, free: 7.391 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.989, allocations: 4 kB / 1.329 GB, free: 7.387 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.989, allocations: 7.938 kB / 1.329 GB, free: 7.379 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.9891, allocations: 4 kB / 1.329 GB, free: 7.375 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.9896, allocations: 307.5 kB / 1.33 GB, free: 7.074 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.9896, allocations: 3.984 kB / 1.33 GB, free: 7.07 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.9896, allocations: 4 kB / 1.33 GB, free: 7.066 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.9899, allocations: 134.4 kB / 1.33 GB, free: 6.938 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9899, allocations: 4 kB / 1.33 GB, free: 6.934 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9899, allocations: 0 / 1.33 GB, free: 6.934 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9899, allocations: 0 / 1.33 GB, free: 6.934 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005101/0.9905, allocations: 278 kB / 1.33 GB, free: 6.629 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9905, allocations: 8.031 kB / 1.33 GB, free: 6.621 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.9905, allocations: 8.938 kB / 1.33 GB, free: 6.613 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.9907, allocations: 106.5 kB / 1.33 GB, free: 6.484 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.9907, allocations: 384 / 1.33 GB, free: 6.484 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.9907, allocations: 8.359 kB / 1.33 GB, free: 6.477 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.9908, allocations: 34.2 kB / 1.33 GB, free: 6.438 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9908, allocations: 4.188 kB / 1.33 GB, free: 6.434 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.9908, allocations: 3.938 kB / 1.33 GB, free: 6.43 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.9908, allocations: 0 / 1.33 GB, free: 6.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.9909, allocations: 0 / 1.33 GB, free: 6.43 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.991, allocations: 101.3 kB / 1.33 GB, free: 6.301 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 7.887e-05/0.9911, allocations: 30.59 kB / 1.33 GB, free: 6.262 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.9911, allocations: 4.859 kB / 1.33 GB, free: 6.254 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.9912, allocations: 3.938 kB / 1.33 GB, free: 6.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.9912, allocations: 34.62 kB / 1.33 GB, free: 6.207 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.9912, allocations: 0 / 1.33 GB, free: 6.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/0.9914, allocations: 45.62 kB / 1.33 GB, free: 6.156 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.9914, allocations: 51.41 kB / 1.33 GB, free: 6.094 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.9915, allocations: 97.86 kB / 1.33 GB, free: 5.988 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.9916, allocations: 25.95 kB / 1.33 GB, free: 5.957 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.9916, allocations: 88.08 kB / 1.331 GB, free: 5.867 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.9916, allocations: 7.953 kB / 1.331 GB, free: 5.859 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.9917, allocations: 9.719 kB / 1.331 GB, free: 5.844 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.9919, allocations: 322.8 kB / 1.331 GB, free: 5.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.9919, allocations: 0 / 1.331 GB, free: 5.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.9919, allocations: 7.938 kB / 1.331 GB, free: 5.512 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.9919, allocations: 8.859 kB / 1.331 GB, free: 5.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9919, allocations: 0 / 1.331 GB, free: 5.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.861e-05/0.992, allocations: 45.59 kB / 1.331 GB, free: 5.449 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.992, allocations: 8.094 kB / 1.331 GB, free: 5.441 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.992, allocations: 4 kB / 1.331 GB, free: 5.438 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.992, allocations: 7.922 kB / 1.331 GB, free: 5.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.9922, allocations: 8 kB / 1.331 GB, free: 5.422 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004981/0.9927, allocations: 0.5821 MB / 1.332 GB, free: 4.816 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.9927, allocations: 0 / 1.332 GB, free: 4.816 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.9927, allocations: 0 / 1.332 GB, free: 4.816 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.9928, allocations: 123.9 kB / 1.332 GB, free: 4.688 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.9928, allocations: 0 / 1.332 GB, free: 4.688 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.993, allocations: 45.11 kB / 1.332 GB, free: 4.637 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.993, allocations: 3.984 kB / 1.332 GB, free: 4.633 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.993, allocations: 4 kB / 1.332 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.993, allocations: 0 / 1.332 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.773e-05/0.9931, allocations: 101.3 kB / 1.332 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9931, allocations: 7.922 kB / 1.332 GB, free: 4.492 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.9931, allocations: 11.98 kB / 1.332 GB, free: 4.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.9931, allocations: 0 / 1.332 GB, free: 4.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.9932, allocations: 4 kB / 1.332 GB, free: 4.477 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000415/0.9936, allocations: 0.5822 MB / 1.332 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9936, allocations: 0 / 1.332 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.925e-05/0.9937, allocations: 80.98 kB / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-06/0.9937, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.9937, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.9937, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.9937, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.9937, allocations: 4 kB / 1.332 GB, free: 3.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.9938, allocations: 75.28 kB / 1.333 GB, free: 3.695 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9938, allocations: 4.156 kB / 1.333 GB, free: 3.691 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002122/0.994, allocations: 27.86 kB / 1.333 GB, free: 3.664 MB / 1.01 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002154/0.9942, allocations: 119.1 kB / 1.333 GB, free: 3.535 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.9944, allocations: 19.98 kB / 1.333 GB, free: 3.516 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.9944, allocations: 0 / 1.333 GB, free: 3.516 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.9945, allocations: 15.92 kB / 1.333 GB, free: 3.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.9946, allocations: 6.438 kB / 1.333 GB, free: 3.496 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.995, allocations: 106.2 kB / 1.333 GB, free: 3.363 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.9953, allocations: 59.34 kB / 1.333 GB, free: 3.285 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 1.546e-05/0.9953, allocations: 0 / 1.333 GB, free: 3.285 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.9953, allocations: 11.44 kB / 1.333 GB, free: 3.273 MB / 1.01 GB Notification: Performance of SimCode: time 8.02e-07/0.9953, allocations: 0 / 1.333 GB, free: 3.273 MB / 1.01 GB Notification: Performance of Templates: time 0.00344/0.9988, allocations: 0.5412 MB / 1.333 GB, free: 2.773 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.ref.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: 10.512297336012125]