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.0009863/0.0009863, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002498, allocations: 449.7 kB / 10.33 MB, free: 372 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.0009479/0.0009479, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002276, allocations: 463.6 kB / 11.66 MB, free: 2.504 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1451/1.167, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.878/1.878, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4512/2.329, allocations: 123.3 MB / 0.728 GB, free: 5.828 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_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 1.603e-06/1.603e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.432e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002093/0.002117, allocations: 1.362 MB / 0.7306 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.002857, allocations: 0.5677 MB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.002874, allocations: 4.625 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.213e-06/0.002882, allocations: 0 / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.371e-05/0.002905, allocations: 6.047 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.003305, allocations: 142.7 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.00336, allocations: 20.62 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.003401, allocations: 4.5 kB / 0.7313 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.003447, allocations: 4.594 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.003493, allocations: 3.984 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.003505, allocations: 4.875 kB / 0.7313 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.003969, allocations: 331.2 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.00398, allocations: 1.375 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.003994, allocations: 4 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.00422, allocations: 119.7 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.004233, allocations: 3.938 kB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004234, allocations: 0.7188 kB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.004248, allocations: 0 / 0.7318 GB, free: 2.027 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.0003566/0.004605, allocations: 265 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004636, allocations: 9.75 kB / 0.732 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.004665, allocations: 0.9375 kB / 0.732 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.004748, allocations: 113.7 kB / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004758, allocations: 4.312 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.004767, allocations: 384 / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.648e-05/0.004833, allocations: 39.06 kB / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.00484, allocations: 0.6875 kB / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.004845, allocations: 384 / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.00485, allocations: 1.125 kB / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.279e-05/0.004863, allocations: 9.312 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.757e-05/0.004951, allocations: 60.98 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.004989, allocations: 18.61 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.005, allocations: 5.734 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.00502, allocations: 0 / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.005043, allocations: 38.61 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005044, allocations: 0.5312 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.014e-05/0.005135, allocations: 42.42 kB / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.005163, allocations: 53.16 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.005214, allocations: 98.72 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005225, allocations: 29.69 kB / 0.7325 GB, free: 1.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.005245, allocations: 80.14 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.005267, allocations: 8.469 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.005293, allocations: 17.72 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.005369, allocations: 315.8 kB / 0.7329 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.005377, allocations: 4 kB / 0.7329 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.005383, allocations: 4.531 kB / 0.7329 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.005407, allocations: 13.97 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005409, allocations: 0 / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.807e-05/0.005457, allocations: 38.36 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.005468, allocations: 4 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005472, allocations: 0.5312 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.00548, allocations: 0.9375 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.005598, allocations: 11.98 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002534/0.005851, allocations: 0.5833 MB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.005868, allocations: 3.984 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.005872, allocations: 0 / 0.7336 GB, free: 12 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.35e-05/0.005946, allocations: 111.3 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.005955, allocations: 11.92 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.006031, allocations: 37.64 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006034, allocations: 8.625 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006035, allocations: 0 / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006039, allocations: 8.859 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.765e-05/0.006097, allocations: 61.86 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006098, allocations: 1.312 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.006156, allocations: 8 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006158, allocations: 0 / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.006162, allocations: 3.984 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002074/0.00637, allocations: 0.5876 MB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006371, allocations: 0 / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.609e-05/0.006417, allocations: 58.22 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.006426, allocations: 11.92 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-06/0.006433, allocations: 0 / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-06/0.006443, allocations: 1.25 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.006452, allocations: 0 / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.006455, allocations: 0 / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.997e-06/0.006464, allocations: 9.891 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006464, allocations: 0 / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000167/0.006631, allocations: 27.86 kB / 0.7345 GB, free: 15 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.0001688/0.006799, allocations: 110.6 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.649e-05/0.006886, allocations: 16.8 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.006889, allocations: 0 / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.006914, allocations: 17.78 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.908e-05/0.006973, allocations: 0 / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.007228, allocations: 141.1 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.007263, allocations: 55.36 kB / 0.7348 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.007295, allocations: 59.3 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.007295, allocations: 0 / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.001498/0.008794, allocations: 0.6602 MB / 0.7355 GB, free: 13.91 MB / 0.7136 GB " [Timeout remaining time 300] 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 -emit_protected > 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: 5.686000265181065]