Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.001425/0.001425, allocations: 80.73 kB / 19.43 MB, free: 360 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.001648/0.001648, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.198/3.198, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 1.203 kB / 0.8776 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.862e-05, allocations: 3.719 kB / 0.8776 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.003019/0.003048, allocations: 1.385 MB / 0.879 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.004906, allocations: 0.8722 MB / 0.8798 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.004964, allocations: 1.656 kB / 0.8798 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.004996, allocations: 3.938 kB / 0.8798 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.005078, allocations: 11.92 kB / 0.8798 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.006135, allocations: 229.5 kB / 0.8801 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.006267, allocations: 53.12 kB / 0.8801 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.006319, allocations: 4 kB / 0.8801 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.0064, allocations: 31.95 kB / 0.8801 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.006481, allocations: 21.52 kB / 0.8802 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.006501, allocations: 4 kB / 0.8802 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.00729, allocations: 375.4 kB / 0.8805 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.007314, allocations: 8 kB / 0.8805 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.007361, allocations: 19.92 kB / 0.8806 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.007968, allocations: 316.5 kB / 0.8809 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.007971, allocations: 0 / 0.8809 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.336e-06/0.007975, allocations: 3.984 kB / 0.8809 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.007979, allocations: 0 / 0.8809 GB, free: 2.047 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006275/0.008607, allocations: 356.3 kB / 0.8812 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.008663, allocations: 8.031 kB / 0.8812 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.008963, allocations: 28.81 kB / 0.8812 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.009108, allocations: 109.8 kB / 0.8813 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.009131, allocations: 8.312 kB / 0.8813 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.009167, allocations: 8.375 kB / 0.8814 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.009416, allocations: 117.6 kB / 0.8815 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.009429, allocations: 192 / 0.8815 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.009443, allocations: 384 / 0.8815 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.009447, allocations: 384 / 0.8815 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.009636, allocations: 47.88 kB / 0.8815 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.009891, allocations: 125.2 kB / 0.8816 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.01019, allocations: 82.47 kB / 0.8817 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.0103, allocations: 32.84 kB / 0.8817 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.01032, allocations: 0 / 0.8817 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.01036, allocations: 38.56 kB / 0.8818 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.01036, allocations: 0 / 0.8818 GB, free: 0.9805 MB / 0.7917 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.006777/0.01714, allocations: 0.9673 MB / 0.8827 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.01719, allocations: 51.41 kB / 0.8828 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01734, allocations: 133.8 kB / 0.8829 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.01738, allocations: 25.7 kB / 0.8829 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.01745, allocations: 92.42 kB / 0.883 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.01753, allocations: 39.64 kB / 0.8831 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.01764, allocations: 41.69 kB / 0.8831 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.01784, allocations: 322.8 kB / 0.8834 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.01812, allocations: 79.95 kB / 0.8835 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.01838, allocations: 90.38 kB / 0.8836 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.01892, allocations: 176.8 kB / 0.8837 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01892, allocations: 7.938 kB / 0.8837 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006947/0.01961, allocations: 239.4 kB / 0.884 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.01964, allocations: 11.98 kB / 0.884 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.01965, allocations: 0 / 0.884 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01967, allocations: 0 / 0.884 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.01999, allocations: 39.91 kB / 0.884 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.02, allocations: 480 / 0.884 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.0202, allocations: 15.98 kB / 0.884 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.02022, allocations: 11.98 kB / 0.884 GB, free: 14.55 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.02036, allocations: 113.8 kB / 0.8842 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.02042, allocations: 11.95 kB / 0.8842 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.02047, allocations: 12.44 kB / 0.8842 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.02047, allocations: 0 / 0.8842 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.02048, allocations: 3.938 kB / 0.8842 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.02048, allocations: 4 kB / 0.8842 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.02145, allocations: 409.9 kB / 0.8846 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.02146, allocations: 0 / 0.8846 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.02176, allocations: 31.97 kB / 0.8846 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02176, allocations: 0 / 0.8846 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.02179, allocations: 7.922 kB / 0.8846 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02179, allocations: 4 kB / 0.8846 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02179, allocations: 0 / 0.8846 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.02276, allocations: 371.2 kB / 0.885 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.02278, allocations: 11.95 kB / 0.885 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.02282, allocations: 11.97 kB / 0.885 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.02307, allocations: 7.984 kB / 0.885 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.02311, allocations: 7.984 kB / 0.885 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.02314, allocations: 7.984 kB / 0.885 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.568e-05/0.02322, allocations: 87.28 kB / 0.8851 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02322, allocations: 0 / 0.8851 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003412/0.02357, allocations: 43.98 kB / 0.8851 GB, free: 13.37 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002539/0.02382, allocations: 119.2 kB / 0.8853 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006707/0.02449, allocations: 205.5 kB / 0.8855 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.02449, allocations: 0 / 0.8855 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.02476, allocations: 71.89 kB / 0.8855 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.02514, allocations: 25.83 kB / 0.8855 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.02679, allocations: 409.6 kB / 0.8859 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.02689, allocations: 79.33 kB / 0.886 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.02704, allocations: 12.73 kB / 0.886 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.02715, allocations: 24.48 kB / 0.886 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.02715, allocations: 0 / 0.886 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.006634/0.03379, allocations: 2.314 MB / 0.8883 GB, free: 10.12 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.280852342955768]