Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001436/0.001436, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001467/0.001467, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.221/3.221, allocations: 0.4899 GB / 0.7916 GB, free: 33.31 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.InvertingBasicFlowFunction_m_flow,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,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") [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.002116/0.002116, allocations: 76.62 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4478, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.004229/0.452, allocations: 1.272 MB / 1.322 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.4537, allocations: 0.5881 MB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.4537, allocations: 0 / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.4537, allocations: 7.922 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.4538, allocations: 0 / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.4548, allocations: 140.5 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.4549, allocations: 11.94 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.455, allocations: 7.984 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.4551, allocations: 7.938 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.4552, allocations: 4 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.4552, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009211/0.4561, allocations: 339.3 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.4561, allocations: 3.984 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.4562, allocations: 15.92 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.4566, allocations: 127.6 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4567, allocations: 0 / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.507e-06/0.4567, allocations: 0 / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.4567, allocations: 4 kB / 1.324 GB, free: 284 kB / 1.014 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.0007223/0.4574, allocations: 355.1 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.4574, allocations: 15.98 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.4575, allocations: 4.875 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4577, allocations: 160.4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4577, allocations: 4.312 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.4577, allocations: 4.375 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4578, allocations: 42.19 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4579, allocations: 192 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4579, allocations: 7.938 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4579, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.4579, allocations: 4 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.4582, allocations: 153.7 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.256e-05/0.4582, allocations: 22.55 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.4583, allocations: 8.922 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4583, allocations: 0 / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4583, allocations: 38.56 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.4583, allocations: 0 / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002179/0.4585, allocations: 45.62 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.4586, allocations: 55.34 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/0.4587, allocations: 97.86 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4587, allocations: 25.7 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.4588, allocations: 80.39 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.4588, allocations: 7.953 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.4588, allocations: 13.72 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.459, allocations: 318.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.459, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.459, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.4591, allocations: 12.86 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4591, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.919e-05/0.4592, allocations: 41.77 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.4592, allocations: 11.92 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4592, allocations: 7.922 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4592, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4595, allocations: 8 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005544/0.46, allocations: 0.5821 MB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.4601, allocations: 3.984 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4601, allocations: 128 / 1.326 GB, free: 13.92 MB / 1.029 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.0001138/0.4602, allocations: 121.8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.4602, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.4604, allocations: 48.75 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4604, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4604, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4604, allocations: 7.938 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4605, allocations: 145.6 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4605, allocations: 4.031 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.515e-05/0.4606, allocations: 11.98 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4606, allocations: 3.938 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4606, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003999/0.461, allocations: 0.5821 MB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.461, allocations: 3.938 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.931e-05/0.4611, allocations: 69.19 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.4612, allocations: 81.06 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.4612, allocations: 4 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.4612, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.4612, allocations: 7.922 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4612, allocations: 3.984 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.4613, allocations: 79.28 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4613, allocations: 0 / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002073/0.4615, allocations: 12.06 kB / 1.327 GB, free: 12.62 MB / 1.029 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.0002272/0.4617, allocations: 123.1 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.4619, allocations: 27.92 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4619, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.462, allocations: 8 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.4622, allocations: 7.984 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.4626, allocations: 106.1 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.463, allocations: 0.6768 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.463, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.463, allocations: 7.438 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.463, allocations: 0 / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Templates: time 0.003453/0.4664, allocations: 465.5 kB / 1.328 GB, free: 11.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.98398206802085]