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.001084/0.001084, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001134/0.001134, allocations: 173 kB / 23.49 MB, free: 1.059 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.109/2.109, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] 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.733e-06/1.733e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.649e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001837/0.001863, allocations: 1.42 MB / 0.8796 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002873, allocations: 0.9212 MB / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.002911, allocations: 0 / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.002932, allocations: 4.688 kB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.002981, allocations: 3.938 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.003556, allocations: 223.2 kB / 0.8807 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.003638, allocations: 51.78 kB / 0.8808 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.003677, allocations: 0 / 0.8808 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.00374, allocations: 23.92 kB / 0.8808 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.003789, allocations: 19.06 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.003804, allocations: 4 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.004222, allocations: 383.3 kB / 0.8812 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.004241, allocations: 7.969 kB / 0.8812 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.004266, allocations: 15.94 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.004598, allocations: 295.2 kB / 0.8815 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004601, allocations: 0 / 0.8815 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004603, allocations: 0 / 0.8815 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004607, allocations: 0 / 0.8815 GB, free: 3.281 MB / 0.8386 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.0003878/0.004995, allocations: 451.6 kB / 0.8819 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.005034, allocations: 12.03 kB / 0.8819 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.005245, allocations: 24.86 kB / 0.8819 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.005338, allocations: 122.6 kB / 0.8821 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.005351, allocations: 4.312 kB / 0.8821 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.00537, allocations: 4.375 kB / 0.8821 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.005505, allocations: 84.64 kB / 0.8822 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005513, allocations: 192 / 0.8822 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005524, allocations: 4.375 kB / 0.8822 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.005531, allocations: 384 / 0.8822 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.005571, allocations: 19.92 kB / 0.8822 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.005714, allocations: 132.6 kB / 0.8823 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.0059, allocations: 58.98 kB / 0.8824 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.005934, allocations: 27.75 kB / 0.8824 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.005946, allocations: 0 / 0.8824 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.005969, allocations: 37.39 kB / 0.8824 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.00597, allocations: 0 / 0.8824 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0009631/0.006933, allocations: 333.5 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.006964, allocations: 63.27 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.007049, allocations: 181.9 kB / 0.883 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.007065, allocations: 33.7 kB / 0.883 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.007103, allocations: 134.8 kB / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.007129, allocations: 19.86 kB / 0.8832 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.007174, allocations: 35.36 kB / 0.8832 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.007353, allocations: 0.4884 MB / 0.8837 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.007409, allocations: 31.98 kB / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.163e-05/0.00745, allocations: 31.98 kB / 0.8837 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.007549, allocations: 75.73 kB / 0.8838 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.00755, allocations: 4 kB / 0.8838 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000151/0.007701, allocations: 128.7 kB / 0.8839 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.007713, allocations: 4 kB / 0.8839 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.007724, allocations: 4 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.007737, allocations: 0 / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.00781, allocations: 15.98 kB / 0.8839 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.007816, allocations: 3.938 kB / 0.884 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.007854, allocations: 11.98 kB / 0.884 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.007861, allocations: 0 / 0.884 GB, free: 0.4961 MB / 0.8386 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.784e-05/0.007929, allocations: 160.6 kB / 0.8841 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.007945, allocations: 7.953 kB / 0.8841 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.007975, allocations: 8.438 kB / 0.8841 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007976, allocations: 3.938 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.007981, allocations: 3.938 kB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007985, allocations: 3.984 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.008363, allocations: 349.1 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.008365, allocations: 4.031 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.008432, allocations: 15.98 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.008436, allocations: 4 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.008446, allocations: 3.938 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.008448, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.008449, allocations: 3.938 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.008654, allocations: 251.5 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.008679, allocations: 7.984 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.008696, allocations: 7.938 kB / 0.8848 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.008754, allocations: 8.031 kB / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.008773, allocations: 8.109 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.008781, allocations: 8 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.008822, allocations: 138.4 kB / 0.8849 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008822, allocations: 0 / 0.8849 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001819/0.009004, allocations: 23.94 kB / 0.8849 GB, free: 15.42 MB / 0.8542 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.0001576/0.009162, allocations: 119.2 kB / 0.8851 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.009328, allocations: 105.3 kB / 0.8852 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00933, allocations: 0 / 0.8852 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.009369, allocations: 39.61 kB / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.00957, allocations: 11.98 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.0102, allocations: 242.4 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.01024, allocations: 63.34 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.981e-05/0.01028, allocations: 8 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.01031, allocations: 12.48 kB / 0.8855 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of SimCode: time 6.82e-07/0.01032, allocations: 0 / 0.8855 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.00349/0.01381, allocations: 1.8 MB / 0.8873 GB, free: 13.02 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] 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","",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.427996959071606]