Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007605/0.0007605, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001784, allocations: 440 kB / 10.41 MB, free: 284 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.0006925/0.0006925, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000898/0.001591, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9321/0.9321, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08148/1.014, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.296/2.296, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2119/2.508, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.668e-05, allocations: 6.25 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002082/0.002098, allocations: 1.401 MB / 0.8203 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.002894, allocations: 0.5721 MB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.002911, allocations: 0 / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.594e-06/0.002918, allocations: 3.938 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.246e-05/0.002941, allocations: 3.938 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.003282, allocations: 143.3 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.003334, allocations: 19.92 kB / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.003375, allocations: 0 / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.003428, allocations: 7.938 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.00348, allocations: 7.984 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.003492, allocations: 0 / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.003883, allocations: 247.5 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.003895, allocations: 3.938 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.003909, allocations: 4 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.004156, allocations: 123.8 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.004168, allocations: 0 / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004169, allocations: 4 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.004183, allocations: 0 / 0.8214 GB, free: 15.89 MB / 0.8073 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.0003711/0.004554, allocations: 280.2 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.004584, allocations: 8.031 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.004613, allocations: 0.9375 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.289e-05/0.004695, allocations: 109.7 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.004705, allocations: 384 / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004714, allocations: 384 / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.773e-05/0.004782, allocations: 34.25 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.004789, allocations: 4.188 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-06/0.004794, allocations: 4.312 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.0048, allocations: 384 / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.321e-05/0.004813, allocations: 7.938 kB / 0.8219 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.403e-05/0.004897, allocations: 61.05 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.004942, allocations: 22.61 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.004955, allocations: 8.844 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.004973, allocations: 3.984 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.004994, allocations: 34.62 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.004995, allocations: 0 / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.713e-05/0.005082, allocations: 37.64 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.005112, allocations: 55.41 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.005164, allocations: 98.7 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.005173, allocations: 25.7 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.005196, allocations: 88.12 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.00522, allocations: 7.953 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.005247, allocations: 13.72 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.005324, allocations: 314.8 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.005332, allocations: 4 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-06/0.005341, allocations: 8.25 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/0.005363, allocations: 16.78 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005365, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.161e-05/0.005406, allocations: 33.7 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.005417, allocations: 4 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005421, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005431, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.005551, allocations: 15.92 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002544/0.005805, allocations: 0.5899 MB / 0.8233 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.005822, allocations: 4.031 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.005826, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.8073 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 5.191e-05/0.005878, allocations: 109.8 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.005886, allocations: 4 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.005964, allocations: 40.98 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.005967, allocations: 3.938 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005969, allocations: 0 / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005972, allocations: 0 / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.704e-05/0.006029, allocations: 65.94 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00603, allocations: 4 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.006247, allocations: 11.98 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006255, allocations: 3.953 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006258, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.006262, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002218/0.006483, allocations: 0.582 MB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006486, allocations: 4 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.26e-05/0.006538, allocations: 61.06 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.006548, allocations: 8.094 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.006561, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.006571, allocations: 3.938 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.006574, allocations: 0 / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.134e-05/0.006585, allocations: 8.859 kB / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006585, allocations: 0 / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001693/0.006755, allocations: 27.86 kB / 0.8242 GB, free: 12.83 MB / 0.8073 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.0001761/0.006931, allocations: 100.3 kB / 0.8243 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.007036, allocations: 28.92 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.007041, allocations: 4 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.00708, allocations: 16.8 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.602e-05/0.007146, allocations: 7.938 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.007615, allocations: 104.7 kB / 0.8244 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.007643, allocations: 59.34 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.007664, allocations: 8.125 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.007694, allocations: 51.38 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.007694, allocations: 0 / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.002326/0.01002, allocations: 0.6216 MB / 0.8252 GB, free: 11.81 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.838184931315482]