Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.00149/0.00149, allocations: 78.53 kB / 19.28 MB, free: 2.234 MB / 14.72 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.001683/0.001683, allocations: 165.4 kB / 22.57 MB, free: 4.957 MB / 14.72 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.493/1.493, allocations: 177.1 MB / 202.9 MB, free: 9.125 MB / 190.1 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.056/3.056, allocations: 390.1 MB / 0.6342 GB, free: 15.91 MB / 0.6075 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.989e-05, allocations: 2.312 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.002696/0.002726, allocations: 1.381 MB / 1.004 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004358, allocations: 0.8636 MB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.0044, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.00442, allocations: 7.984 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.004476, allocations: 15.86 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.005214, allocations: 210.9 kB / 1.005 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.772e-05/0.005311, allocations: 43.78 kB / 1.005 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.005356, allocations: 7.984 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.005429, allocations: 31.91 kB / 1.005 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.005491, allocations: 15.98 kB / 1.005 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005505, allocations: 3.938 kB / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.006163, allocations: 375.4 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.006188, allocations: 15.92 kB / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.006211, allocations: 4 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.006734, allocations: 307.1 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006736, allocations: 0 / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.82e-07/0.006737, allocations: 0 / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.00674, allocations: 0 / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005554/0.007296, allocations: 357.2 kB / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.007338, allocations: 11.98 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.007583, allocations: 24.91 kB / 1.006 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.007714, allocations: 111 kB / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.007731, allocations: 384 / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.007755, allocations: 4.375 kB / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.007939, allocations: 71.94 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.007946, allocations: 4.188 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.007959, allocations: 4.375 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.007964, allocations: 384 / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.008101, allocations: 35.84 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.008287, allocations: 121.3 kB / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.008603, allocations: 62.53 kB / 1.006 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.00869, allocations: 24.94 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.008703, allocations: 0 / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.008739, allocations: 30.56 kB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.00874, allocations: 0 / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.002194/0.01093, allocations: 413 kB / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.01098, allocations: 55.34 kB / 1.007 GB, free: 424 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.0111, allocations: 132.5 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.01113, allocations: 25.7 kB / 1.007 GB, free: 248 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.01119, allocations: 96.08 kB / 1.007 GB, free: 148 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.01122, allocations: 19.86 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.01129, allocations: 25.7 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.01147, allocations: 322.8 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.01163, allocations: 47.91 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.01178, allocations: 47.95 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.01207, allocations: 100.7 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.01207, allocations: 0 / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003862/0.01246, allocations: 144.3 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01247, allocations: 4 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.01248, allocations: 0 / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.0125, allocations: 4 kB / 1.008 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01266, allocations: 23.92 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01267, allocations: 3.938 kB / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01277, allocations: 7.984 kB / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01278, allocations: 0 / 1.008 GB, free: 15.39 MB / 0.9669 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 (8): * Single equations (assignments): 7 * 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.0001048/0.01289, allocations: 121.8 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.01291, allocations: 7.953 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.01294, allocations: 12.42 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01295, allocations: 0 / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01295, allocations: 3.938 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01295, allocations: 0 / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.01371, allocations: 307.1 kB / 1.008 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01371, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.01387, allocations: 27.95 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.01388, allocations: 7.984 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01389, allocations: 3.938 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01389, allocations: 0 / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01389, allocations: 0 / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.01441, allocations: 228.3 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.01446, allocations: 15.97 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.01448, allocations: 7.938 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01463, allocations: 12.05 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.01465, allocations: 7.922 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.01468, allocations: 4 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.482e-05/0.01474, allocations: 91.27 kB / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01474, allocations: 0 / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002757/0.01502, allocations: 31.94 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001901/0.01521, allocations: 115.2 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.01557, allocations: 117.6 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01558, allocations: 7.938 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01571, allocations: 31.97 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01601, allocations: 10.5 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.01679, allocations: 246 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.01686, allocations: 67.34 kB / 1.009 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.01692, allocations: 11.98 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.01697, allocations: 12.5 kB / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.01697, allocations: 3.938 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of Templates: time 0.005447/0.02242, allocations: 1.766 MB / 1.011 GB, free: 12.05 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.32760950550437]