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.0009321/0.0009321, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001001/0.001001, allocations: 173 kB / 23.03 MB, free: 1.543 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.9356/0.9356, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.027/2.027, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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_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.383e-06/1.383e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.754e-05, allocations: 9.922 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002028/0.002056, allocations: 1.399 MB / 0.8796 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003178, allocations: 0.9308 MB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.003231, allocations: 0 / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.00326, allocations: 4.844 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.003322, allocations: 7.922 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.003992, allocations: 210.3 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.004081, allocations: 51.78 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.004123, allocations: 5.062 kB / 0.8808 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.004187, allocations: 31.89 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.004245, allocations: 8 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.004261, allocations: 1.344 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.00471, allocations: 383.3 kB / 0.8812 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.004732, allocations: 15.92 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.00476, allocations: 11.98 kB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.005097, allocations: 292.8 kB / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.0051, allocations: 0 / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005101, allocations: 0 / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.005107, allocations: 0 / 0.8815 GB, free: 2.953 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.0004436/0.00555, allocations: 456.7 kB / 0.8819 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.005589, allocations: 8.031 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.005803, allocations: 28.8 kB / 0.8819 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.662e-05/0.00589, allocations: 120.1 kB / 0.882 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005903, allocations: 5.219 kB / 0.8821 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.005926, allocations: 8.359 kB / 0.8821 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.006063, allocations: 88.08 kB / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006069, allocations: 192 / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.006081, allocations: 4.375 kB / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006088, allocations: 384 / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.006128, allocations: 15.92 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.006273, allocations: 132.6 kB / 0.8823 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.006466, allocations: 59.02 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.006498, allocations: 19.69 kB / 0.8824 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.006511, allocations: 4 kB / 0.8824 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.006532, allocations: 37.39 kB / 0.8824 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006533, allocations: 0 / 0.8824 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0009382/0.007472, allocations: 337.5 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.007499, allocations: 59.34 kB / 0.8828 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.007587, allocations: 185.8 kB / 0.883 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.007602, allocations: 25.7 kB / 0.883 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.007641, allocations: 138.8 kB / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.007665, allocations: 19.86 kB / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.007716, allocations: 39.34 kB / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.00783, allocations: 496.1 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.00788, allocations: 31.98 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.007922, allocations: 35.98 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.008013, allocations: 74.34 kB / 0.8838 GB, free: 352 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008014, allocations: 4.062 kB / 0.8838 GB, free: 348 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001498/0.008164, allocations: 133.5 kB / 0.8839 GB, free: 208 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008177, allocations: 8 kB / 0.8839 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.00819, allocations: 7.984 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.008202, allocations: 0 / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.008278, allocations: 15.98 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.008284, allocations: 3.938 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.008319, allocations: 7.938 kB / 0.884 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.008327, allocations: 0 / 0.884 GB, free: 164 kB / 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 8.557e-05/0.008412, allocations: 160.6 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.008428, allocations: 7.984 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.008465, allocations: 8.438 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008467, allocations: 4 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.008471, allocations: 3.938 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.008474, allocations: 336 / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.008856, allocations: 353 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008858, allocations: 0 / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.008921, allocations: 15.98 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.008923, allocations: 0 / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.008937, allocations: 19.84 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008938, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.00894, allocations: 4.031 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.009144, allocations: 251.6 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.009169, allocations: 3.984 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.009188, allocations: 15.92 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.00924, allocations: 4 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.009261, allocations: 3.984 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.009268, allocations: 4.125 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.622e-05/0.009314, allocations: 135.2 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009314, allocations: 0 / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001676/0.009482, allocations: 23.94 kB / 0.8849 GB, free: 15.08 MB / 0.8542 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.0001534/0.009635, allocations: 123.2 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.009815, allocations: 105.4 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009817, allocations: 0 / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.00986, allocations: 43.59 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01006, allocations: 8 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.01074, allocations: 234.2 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.01079, allocations: 59.34 kB / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.01083, allocations: 8 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.01087, allocations: 16.48 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/0.01087, allocations: 0 / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.003772/0.01464, allocations: 1.971 MB / 0.8874 GB, free: 12.48 MB / 0.8542 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 -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.411472404841334]