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.001294/0.001294, allocations: 80.25 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0009761/0.0009761, allocations: 173.9 kB / 23.34 MB, free: 1.184 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 0.9065/0.9065, allocations: 177.1 MB / 203.6 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] 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 1.795/1.795, allocations: 390.1 MB / 0.635 GB, free: 11.53 MB / 0.6042 GB " [Timeout remaining time 178] 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.342e-06/1.342e-06, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.125e-05, allocations: 5.266 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001601/0.001622, allocations: 1.383 MB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.00253, allocations: 0.8568 MB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.002575, allocations: 0 / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.002594, allocations: 7.922 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.002646, allocations: 11.86 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.003195, allocations: 214.9 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.003268, allocations: 43.78 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.003315, allocations: 11.98 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.003379, allocations: 27.91 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.00343, allocations: 15.98 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.003443, allocations: 0 / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.003818, allocations: 379.4 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.003835, allocations: 7.984 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.003858, allocations: 15.94 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.004166, allocations: 303.1 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004168, allocations: 4 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004169, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004174, allocations: 4 kB / 1.006 GB, free: 7.504 MB / 0.9636 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.0003819/0.004555, allocations: 345.3 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.00459, allocations: 8.031 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.004753, allocations: 20.91 kB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.004836, allocations: 113.8 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.004855, allocations: 384 / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.004873, allocations: 4.375 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.005002, allocations: 79.94 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.00501, allocations: 192 / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.00502, allocations: 384 / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.005025, allocations: 4.312 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.005099, allocations: 35.84 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.00522, allocations: 117.3 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.005428, allocations: 62.53 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.005475, allocations: 28.94 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.00549, allocations: 4 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005509, allocations: 30.56 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.00551, allocations: 4 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001104/0.006614, allocations: 408.8 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.006647, allocations: 63.34 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.006725, allocations: 128.9 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.00674, allocations: 25.7 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.006772, allocations: 92.08 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.006794, allocations: 15.86 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.006837, allocations: 33.7 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.006915, allocations: 318.8 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.007005, allocations: 47.91 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.007079, allocations: 47.97 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.007233, allocations: 107.3 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.007234, allocations: 0 / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001974/0.007431, allocations: 137.6 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.007443, allocations: 4 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.007455, allocations: 4 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007467, allocations: 0 / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.007535, allocations: 15.98 kB / 1.008 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.007543, allocations: 7.938 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.007585, allocations: 11.98 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.007595, allocations: 4 kB / 1.008 GB, free: 5.012 MB / 0.9636 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 6.09e-05/0.007656, allocations: 109.8 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.007667, allocations: 7.953 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.007697, allocations: 12.36 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.007698, allocations: 0 / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.007704, allocations: 3.938 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007707, allocations: 4 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.008123, allocations: 307.1 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008125, allocations: 0 / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.008194, allocations: 35.84 kB / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008196, allocations: 0 / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.008205, allocations: 3.938 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008207, allocations: 0 / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008208, allocations: 4 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.008495, allocations: 236.5 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.008522, allocations: 15.94 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.008537, allocations: 3.938 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.0086, allocations: 7.984 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.008619, allocations: 7.922 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.008625, allocations: 4 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.008663, allocations: 91.27 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008663, allocations: 4 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001885/0.008851, allocations: 27.94 kB / 1.009 GB, free: 4.078 MB / 0.9636 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.0001287/0.00898, allocations: 119.2 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.009206, allocations: 113.6 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009208, allocations: 0 / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.009275, allocations: 35.91 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.009481, allocations: 11.98 kB / 1.01 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.01033, allocations: 245.9 kB / 1.01 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.01038, allocations: 75.34 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.01043, allocations: 7.984 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.01047, allocations: 16.5 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of SimCode: time 1.222e-06/0.01047, allocations: 0 / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.003382/0.01385, allocations: 1.767 MB / 1.012 GB, free: 1.684 MB / 0.9636 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 -s cvode -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: 5.316536829806864]