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.0007508/0.0007508, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001775, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000693/0.000693, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000894/0.001587, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9343/0.9343, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09313/1.027, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.871/1.871, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4803/2.351, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] 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,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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.546e-05, allocations: 5.125 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002318/0.002343, allocations: 1.369 MB / 0.7307 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.003159, allocations: 0.5691 MB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.003179, allocations: 0 / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.003189, allocations: 4 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.003218, allocations: 5.25 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.003606, allocations: 138.7 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.003666, allocations: 13.31 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.003709, allocations: 4.656 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.003761, allocations: 8.859 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.003812, allocations: 4.703 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.003824, allocations: 4.875 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.004213, allocations: 252 kB / 0.7317 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.004225, allocations: 4 kB / 0.7317 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.279e-05/0.004238, allocations: 0.75 kB / 0.7317 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.004481, allocations: 131.6 kB / 0.7318 GB, free: 2.066 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.004499, allocations: 5 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.0045, allocations: 0 / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.004518, allocations: 0.875 kB / 0.7318 GB, free: 2.062 MB / 0.698 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.0003712/0.004889, allocations: 260.3 kB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.004927, allocations: 12.66 kB / 0.7321 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.004954, allocations: 0.9375 kB / 0.7321 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.803e-05/0.005042, allocations: 106.4 kB / 0.7322 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005054, allocations: 8.375 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.005061, allocations: 2.125 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.237e-05/0.005133, allocations: 34.25 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.00514, allocations: 192 / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005147, allocations: 384 / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.005151, allocations: 1.031 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.005168, allocations: 8.812 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.079e-05/0.005259, allocations: 61.03 kB / 0.7323 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.005305, allocations: 23.14 kB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.005319, allocations: 8.922 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.00534, allocations: 1.125 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005362, allocations: 34.56 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.005364, allocations: 4.656 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001032/0.005467, allocations: 41.62 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.005499, allocations: 51.94 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.005554, allocations: 99.66 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.005562, allocations: 25.7 kB / 0.7325 GB, free: 1.172 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.005583, allocations: 81.02 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.005613, allocations: 11.94 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.005637, allocations: 15.48 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.005715, allocations: 318.8 kB / 0.733 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.005724, allocations: 0 / 0.733 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.005732, allocations: 4 kB / 0.733 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.005754, allocations: 10.11 kB / 0.733 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.005758, allocations: 4 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.656e-05/0.005814, allocations: 38.56 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.005829, allocations: 7.281 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005834, allocations: 4 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.005843, allocations: 0.7812 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.005994, allocations: 7.984 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002776/0.006271, allocations: 0.5791 MB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.006291, allocations: 0.5312 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.006298, allocations: 8.703 kB / 0.7336 GB, free: 52 kB / 0.698 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 7.24e-05/0.006371, allocations: 118.9 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.006378, allocations: 0 / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.006464, allocations: 42.03 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006467, allocations: 3.938 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006469, allocations: 0 / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006471, allocations: 0.5625 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.477e-05/0.006536, allocations: 77.81 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006538, allocations: 1.781 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.006604, allocations: 8 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.006611, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006613, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.00662, allocations: 5.203 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002065/0.006826, allocations: 0.5859 MB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006827, allocations: 1.312 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.184e-05/0.006879, allocations: 57.08 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.006888, allocations: 7.922 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.006901, allocations: 6.75 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.006911, allocations: 0 / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006914, allocations: 0 / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.223e-05/0.006926, allocations: 8.844 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006926, allocations: 0 / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001771/0.007103, allocations: 31.81 kB / 0.7345 GB, free: 15.03 MB / 0.7136 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.000194/0.007297, allocations: 110.7 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.007393, allocations: 12.86 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.007398, allocations: 0 / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.007426, allocations: 16.84 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.354e-05/0.007499, allocations: 8.688 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.008025, allocations: 113.9 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.008069, allocations: 53.89 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.008094, allocations: 3.938 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.008127, allocations: 51.38 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/0.008128, allocations: 0 / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.002581/0.01071, allocations: 0.6192 MB / 0.7355 GB, free: 14.05 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 4.7175730634480715]