Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007972/0.0007972, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009502/0.0009502, allocations: 177 kB / 23.36 MB, free: 1.137 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.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.465 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 2.469/2.469, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.632e-05, allocations: 8.703 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.003178/0.003204, allocations: 1.442 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.004721, allocations: 0.918 MB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.004758, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.00478, allocations: 7.875 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.004842, allocations: 3.984 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.00546, allocations: 210.8 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.005553, allocations: 39.8 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.005598, allocations: 19.95 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.005677, allocations: 23.92 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.005729, allocations: 11.98 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.005742, allocations: 0 / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.00633, allocations: 395.4 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.006351, allocations: 11.94 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.006372, allocations: 7.984 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.006786, allocations: 307 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.00679, allocations: 0 / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006791, allocations: 0 / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.006795, allocations: 0 / 0.842 GB, free: 10.71 MB / 0.8073 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.0003545/0.00715, allocations: 323.9 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.007186, allocations: 16.56 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.00736, allocations: 20.91 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.007449, allocations: 113.7 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.007461, allocations: 384 / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.00748, allocations: 12.33 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.007601, allocations: 88.58 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.007608, allocations: 192 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.007617, allocations: 4.375 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.007623, allocations: 384 / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.007657, allocations: 15.92 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.007759, allocations: 64.98 kB / 0.8426 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.007905, allocations: 42.59 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.007934, allocations: 20.92 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.007944, allocations: 3.938 kB / 0.8427 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.007968, allocations: 38.56 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.007969, allocations: 0 / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.001348/0.009317, allocations: 337 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.009344, allocations: 51.41 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.009429, allocations: 146.5 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.009443, allocations: 25.7 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.009471, allocations: 80.14 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.0095, allocations: 23.83 kB / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.009559, allocations: 33.69 kB / 0.8434 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.00965, allocations: 318.8 kB / 0.8437 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.009692, allocations: 23.98 kB / 0.8437 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.009717, allocations: 20 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.009787, allocations: 67.98 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.009788, allocations: 0 / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001349/0.009923, allocations: 89.75 kB / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.009935, allocations: 4 kB / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.009949, allocations: 8.016 kB / 0.8439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.009957, allocations: 0 / 0.8439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.01006, allocations: 15.98 kB / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01006, allocations: 3.984 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.01011, allocations: 7.938 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.01012, allocations: 11.92 kB / 0.8439 GB, free: 8.531 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 (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.023e-05/0.01018, allocations: 105.8 kB / 0.844 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.01019, allocations: 8 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.01022, allocations: 8.438 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01022, allocations: 4 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01022, allocations: 0 / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01023, allocations: 3.984 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.01058, allocations: 231.6 kB / 0.8442 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01058, allocations: 0 / 0.8442 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.01067, allocations: 20.11 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01067, allocations: 0 / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01069, allocations: 8.016 kB / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01069, allocations: 4 kB / 0.8443 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01069, allocations: 0 / 0.8443 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.01088, allocations: 188.2 kB / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.01091, allocations: 7.953 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.01092, allocations: 0 / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.01101, allocations: 4 kB / 0.8445 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.01103, allocations: 11.92 kB / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01104, allocations: 4 kB / 0.8445 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.165e-05/0.01106, allocations: 20.22 kB / 0.8445 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01106, allocations: 4.031 kB / 0.8445 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002333/0.01129, allocations: 27.94 kB / 0.8445 GB, free: 7.832 MB / 0.8073 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.0001584/0.01145, allocations: 100.3 kB / 0.8446 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01157, allocations: 90.53 kB / 0.8447 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01157, allocations: 0 / 0.8447 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.01161, allocations: 28.78 kB / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01181, allocations: 9.312 kB / 0.8448 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.01249, allocations: 230.1 kB / 0.845 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01253, allocations: 63.28 kB / 0.845 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.01258, allocations: 8 kB / 0.845 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.01266, allocations: 63.36 kB / 0.8451 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.01266, allocations: 4 kB / 0.8451 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.004351/0.01701, allocations: 1.974 MB / 0.847 GB, free: 5.219 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.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: 5.335579052101821]