Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_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.002611/0.002611, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.003056/0.003056, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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 3.903/3.903, allocations: 440.4 MB / 0.6832 GB, free: 12.67 MB / 0.6511 GB " [Timeout remaining time 176] 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.PowerLaw_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.083 GB, free: 24.08 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.75e-05, allocations: 2.281 kB / 1.083 GB, free: 24.07 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.005516/0.005544, allocations: 1.398 MB / 1.084 GB, free: 23.1 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004443/0.009987, allocations: 0.9114 MB / 1.085 GB, free: 22.5 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.01004, allocations: 0 / 1.085 GB, free: 22.5 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.01007, allocations: 3.938 kB / 1.085 GB, free: 22.5 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.01013, allocations: 10.55 kB / 1.085 GB, free: 22.49 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.01101, allocations: 285.8 kB / 1.086 GB, free: 22.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.01111, allocations: 41.06 kB / 1.086 GB, free: 22.35 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.01116, allocations: 6.641 kB / 1.086 GB, free: 22.34 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.01123, allocations: 31.95 kB / 1.086 GB, free: 22.33 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.01129, allocations: 12.78 kB / 1.086 GB, free: 22.33 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.0113, allocations: 4.031 kB / 1.086 GB, free: 22.33 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.01213, allocations: 496.8 kB / 1.086 GB, free: 22.24 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.01215, allocations: 14.5 kB / 1.086 GB, free: 22.23 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.01519, allocations: 16.72 kB / 1.086 GB, free: 22.22 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.01572, allocations: 345.1 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01573, allocations: 0 / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01573, allocations: 2.438 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.01573, allocations: 0 / 1.086 GB, free: 22.11 MB / 1.01 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.0004499/0.01618, allocations: 349.5 kB / 1.087 GB, free: 21.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.01622, allocations: 9.5 kB / 1.087 GB, free: 21.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.01627, allocations: 7.703 kB / 1.087 GB, free: 21.78 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.01635, allocations: 108.5 kB / 1.087 GB, free: 21.65 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.01636, allocations: 6.969 kB / 1.087 GB, free: 21.65 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.01638, allocations: 4.328 kB / 1.087 GB, free: 21.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.01651, allocations: 71.62 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01652, allocations: 4.125 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.01653, allocations: 6.938 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01653, allocations: 0 / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.01659, allocations: 15.44 kB / 1.087 GB, free: 21.56 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.01674, allocations: 122.5 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.01696, allocations: 44.72 kB / 1.087 GB, free: 21.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.017, allocations: 17.3 kB / 1.087 GB, free: 21.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01702, allocations: 0 / 1.087 GB, free: 21.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.01704, allocations: 40.94 kB / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.01704, allocations: 0 / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=6): time 0.000713/0.01776, allocations: 269 kB / 1.088 GB, free: 21.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.01778, allocations: 51.41 kB / 1.088 GB, free: 21.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.01786, allocations: 128.3 kB / 1.088 GB, free: 20.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.01787, allocations: 25.7 kB / 1.088 GB, free: 20.93 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.0179, allocations: 89.61 kB / 1.088 GB, free: 20.85 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.01792, allocations: 22.77 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.01797, allocations: 25.97 kB / 1.088 GB, free: 20.81 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.01802, allocations: 320.3 kB / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.01809, allocations: 42.77 kB / 1.088 GB, free: 20.47 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.01815, allocations: 32.83 kB / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01827, allocations: 78.5 kB / 1.088 GB, free: 20.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01827, allocations: 0 / 1.088 GB, free: 20.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001978/0.01847, allocations: 122.9 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01848, allocations: 5.125 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.0185, allocations: 2.438 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.01852, allocations: 3.938 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.01859, allocations: 16.2 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.0186, allocations: 0 / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.01863, allocations: 4 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.01864, allocations: 10.94 kB / 1.088 GB, free: 20.33 MB / 1.01 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 5.821e-05/0.0187, allocations: 108.3 kB / 1.089 GB, free: 20.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.01872, allocations: 5.766 kB / 1.089 GB, free: 20.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.01892, allocations: 96.64 kB / 1.089 GB, free: 20.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01892, allocations: 3.938 kB / 1.089 GB, free: 20.15 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01893, allocations: 0 / 1.089 GB, free: 20.15 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.01893, allocations: 6.359 kB / 1.089 GB, free: 20.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.01926, allocations: 276.6 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01926, allocations: 0 / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.01935, allocations: 16.08 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01935, allocations: 7.969 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01936, allocations: 2.875 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01936, allocations: 0 / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01936, allocations: 0 / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.01957, allocations: 190.6 kB / 1.089 GB, free: 19.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.01961, allocations: 13.7 kB / 1.089 GB, free: 19.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01963, allocations: 10.47 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.01973, allocations: 2.406 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.01976, allocations: 6.094 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01976, allocations: 3 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.0198, allocations: 95.02 kB / 1.089 GB, free: 19.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.0198, allocations: 0 / 1.089 GB, free: 19.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004664/0.02027, allocations: 68.45 kB / 1.089 GB, free: 19.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0003181/0.02059, allocations: 170.8 kB / 1.089 GB, free: 19.49 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.02079, allocations: 95.55 kB / 1.09 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02079, allocations: 0 / 1.09 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.02083, allocations: 17.41 kB / 1.09 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.02123, allocations: 15 kB / 1.09 GB, free: 19.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.02167, allocations: 196.1 kB / 1.09 GB, free: 19.25 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.02173, allocations: 71.39 kB / 1.09 GB, free: 19.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.02178, allocations: 15.61 kB / 1.09 GB, free: 19.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.02181, allocations: 13.94 kB / 1.09 GB, free: 19.17 MB / 1.01 GB Notification: Performance of SimCode: time 4.11e-07/0.02181, allocations: 0 / 1.09 GB, free: 19.17 MB / 1.01 GB Notification: Performance of Templates: time 0.005155/0.02696, allocations: 1.824 MB / 1.092 GB, free: 19.04 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.283898676978424]