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.001936/0.001936, allocations: 79.75 kB / 20.08 MB, free: 4.172 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.001931/0.001931, allocations: 156.9 kB / 23.51 MB, free: 0.75 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.219/1.219, allocations: 177.1 MB / 204 MB, free: 5.023 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.561/2.561, allocations: 439.8 MB / 0.6839 GB, free: 12.52 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_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 2.385e-06/2.385e-06, allocations: 0 / 0.8403 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.273e-05, allocations: 6.25 kB / 0.8403 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.003359/0.003392, allocations: 1.478 MB / 0.8417 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.004801, allocations: 0.9652 MB / 0.8427 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.004856, allocations: 0 / 0.8427 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.004879, allocations: 3.938 kB / 0.8427 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.004937, allocations: 7.938 kB / 0.8427 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.00571, allocations: 266.8 kB / 0.843 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.005812, allocations: 39.8 kB / 0.843 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.005853, allocations: 11.97 kB / 0.843 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.005927, allocations: 27.92 kB / 0.843 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.005979, allocations: 11.92 kB / 0.843 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.005994, allocations: 4 kB / 0.843 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.006753, allocations: 0.5109 MB / 0.8435 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.00678, allocations: 19.92 kB / 0.8436 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.006809, allocations: 11.98 kB / 0.8436 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.007292, allocations: 343 kB / 0.8439 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.007296, allocations: 0 / 0.8439 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007297, allocations: 0 / 0.8439 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.007302, allocations: 0 / 0.8439 GB, free: 8.848 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.0004215/0.007724, allocations: 315.6 kB / 0.8442 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.007764, allocations: 12.03 kB / 0.8442 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.007793, allocations: 4.938 kB / 0.8442 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.007895, allocations: 121.6 kB / 0.8443 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.007907, allocations: 4.375 kB / 0.8443 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.007934, allocations: 8.312 kB / 0.8443 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.964e-05/0.008034, allocations: 59.95 kB / 0.8444 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.008041, allocations: 192 / 0.8444 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.00805, allocations: 8.125 kB / 0.8444 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.008057, allocations: 0 / 0.8444 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.008085, allocations: 7.984 kB / 0.8444 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.008188, allocations: 61.05 kB / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.008377, allocations: 46.52 kB / 0.8445 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.0084, allocations: 12.86 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.008421, allocations: 8 kB / 0.8445 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.008448, allocations: 34.64 kB / 0.8446 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.00845, allocations: 0 / 0.8446 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0006671/0.009117, allocations: 233.1 kB / 0.8448 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.009158, allocations: 67.28 kB / 0.8449 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.009252, allocations: 129.6 kB / 0.845 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.009266, allocations: 29.7 kB / 0.845 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.0093, allocations: 84.12 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.00933, allocations: 31.78 kB / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.009379, allocations: 25.69 kB / 0.8451 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.009486, allocations: 322.8 kB / 0.8455 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/0.009517, allocations: 15.98 kB / 0.8455 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.009547, allocations: 16 kB / 0.8455 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/0.009625, allocations: 47.72 kB / 0.8455 GB, free: 7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009626, allocations: 0 / 0.8455 GB, free: 7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001075/0.009734, allocations: 77.67 kB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.00975, allocations: 7.938 kB / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.009763, allocations: 0 / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.009775, allocations: 4 kB / 0.8456 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.009832, allocations: 12 kB / 0.8456 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.009838, allocations: 7.938 kB / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.009857, allocations: 0 / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.009865, allocations: 4 kB / 0.8456 GB, free: 6.883 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.488e-05/0.00993, allocations: 117.8 kB / 0.8458 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.00994, allocations: 0 / 0.8458 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.01006, allocations: 70.05 kB / 0.8458 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.01006, allocations: 0 / 0.8458 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01006, allocations: 7.875 kB / 0.8458 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01007, allocations: 0 / 0.8458 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.01031, allocations: 215.8 kB / 0.846 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01031, allocations: 8.062 kB / 0.846 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.01038, allocations: 19.92 kB / 0.8461 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01038, allocations: 0 / 0.8461 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.01039, allocations: 0 / 0.8461 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01039, allocations: 3.938 kB / 0.8461 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01039, allocations: 0 / 0.8461 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.01055, allocations: 168.4 kB / 0.8462 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.01058, allocations: 4 kB / 0.8462 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.01059, allocations: 4 kB / 0.8462 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.01065, allocations: 11.98 kB / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.01067, allocations: 3.938 kB / 0.8462 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.01067, allocations: 4 kB / 0.8463 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.0107, allocations: 24.84 kB / 0.8463 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0107, allocations: 0 / 0.8463 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000297/0.011, allocations: 75.67 kB / 0.8463 GB, free: 6.094 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.0003013/0.0113, allocations: 168 kB / 0.8465 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.01144, allocations: 70.52 kB / 0.8466 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.01144, allocations: 7.938 kB / 0.8466 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.01147, allocations: 20.86 kB / 0.8466 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01168, allocations: 7.938 kB / 0.8466 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.01232, allocations: 222 kB / 0.8468 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.01237, allocations: 59.34 kB / 0.8469 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01241, allocations: 11.98 kB / 0.8469 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.0125, allocations: 63.36 kB / 0.847 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of SimCode: time 1.663e-06/0.0125, allocations: 0 / 0.847 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of Templates: time 0.005772/0.01827, allocations: 2.311 MB / 0.8492 GB, free: 3.148 MB / 0.8073 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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_inv_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: 6.0044363578781486]