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.001815/0.001815, allocations: 85.48 kB / 19.44 MB, free: 344 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.002038/0.002038, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.619/1.619, allocations: 177.1 MB / 203.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.48/3.48, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.663e-06/1.663e-06, allocations: 0 / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.091e-05, allocations: 10.27 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00268/0.00271, allocations: 1.303 MB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003851, allocations: 0.5462 MB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.003878, allocations: 0 / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.0039, allocations: 4.719 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.003956, allocations: 7.938 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.004774, allocations: 137.6 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.004825, allocations: 11.92 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.004859, allocations: 0 / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.004905, allocations: 13.61 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.004959, allocations: 7.938 kB / 0.8795 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.004974, allocations: 0 / 0.8795 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.005476, allocations: 263.4 kB / 0.8797 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.005497, allocations: 7.922 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.005518, allocations: 5.125 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.005836, allocations: 143.6 kB / 0.8799 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.00584, allocations: 0 / 0.8799 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005841, allocations: 4.906 kB / 0.8799 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005846, allocations: 0 / 0.8799 GB, free: 4.227 MB / 0.8386 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.0005607/0.006406, allocations: 388.5 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.006446, allocations: 9.625 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.006492, allocations: 0.9375 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.006621, allocations: 108.6 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.006635, allocations: 384 / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.006647, allocations: 7.375 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.006755, allocations: 30.27 kB / 0.8804 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.006767, allocations: 4.188 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.006779, allocations: 4.359 kB / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.006783, allocations: 384 / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.006818, allocations: 11.94 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.00702, allocations: 108.6 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.007097, allocations: 27.09 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.007145, allocations: 21.16 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.007169, allocations: 0 / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.007211, allocations: 41.38 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.007212, allocations: 4 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/0.007382, allocations: 41.7 kB / 0.8806 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.007429, allocations: 51.41 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.007559, allocations: 157.9 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.007578, allocations: 25.7 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.007654, allocations: 130.9 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.007679, allocations: 7.953 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.007716, allocations: 19.38 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002892/0.008005, allocations: 492.1 kB / 0.8815 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.00802, allocations: 8.188 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-06/0.008028, allocations: 4 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.008081, allocations: 19.69 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008083, allocations: 3.938 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.329e-05/0.008156, allocations: 41.69 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008169, allocations: 4 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.008178, allocations: 4 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.008192, allocations: 0 / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.008353, allocations: 11.98 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006915/0.009045, allocations: 0.905 MB / 0.8825 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.009066, allocations: 3.938 kB / 0.8825 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.009072, allocations: 0 / 0.8825 GB, free: 1.336 MB / 0.8386 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.0001244/0.009196, allocations: 156.6 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.009207, allocations: 3.938 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.00933, allocations: 48.94 kB / 0.8827 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009331, allocations: 0 / 0.8827 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.009335, allocations: 4 kB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.009338, allocations: 96 / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.009455, allocations: 116.6 kB / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.00946, allocations: 4 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.009536, allocations: 4 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.009543, allocations: 4 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.009553, allocations: 3.938 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006227/0.01018, allocations: 0.8933 MB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01018, allocations: 0 / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.0103, allocations: 80.33 kB / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.01031, allocations: 8.047 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01032, allocations: 7.969 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.625e-05/0.01034, allocations: 8 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.01036, allocations: 0 / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.01036, allocations: 0 / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.01043, allocations: 123.2 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001878/0.01062, allocations: 4 kB / 0.8839 GB, free: 15.77 MB / 0.8542 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.0002304/0.01085, allocations: 115.2 kB / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01106, allocations: 27.77 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01106, allocations: 0 / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.01117, allocations: 31.55 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.01132, allocations: 3.938 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.01171, allocations: 102.5 kB / 0.8841 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.304e-05/0.01178, allocations: 55.36 kB / 0.8842 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.01179, allocations: 4.125 kB / 0.8842 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.01183, allocations: 8.5 kB / 0.8842 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01183, allocations: 0 / 0.8842 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of Templates: time 0.003577/0.01541, allocations: 0.4992 MB / 0.8847 GB, free: 14.91 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.708471621968783]