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.0009458/0.0009458, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009853/0.0009853, allocations: 165 kB / 23.02 MB, free: 1.551 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.079/1.079, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.211/2.211, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.948e-05, allocations: 4.844 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.002813/0.002842, allocations: 1.397 MB / 0.8796 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.004175, allocations: 0.9263 MB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.004224, allocations: 0 / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.004256, allocations: 3.938 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.004323, allocations: 12.89 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.005096, allocations: 217.7 kB / 0.8807 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.005193, allocations: 51.78 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.005239, allocations: 7.516 kB / 0.8808 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.005305, allocations: 23.92 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.005361, allocations: 11.98 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.005377, allocations: 0 / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.005984, allocations: 387.3 kB / 0.8812 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.006004, allocations: 7.984 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.006037, allocations: 11.94 kB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.006481, allocations: 303.2 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006484, allocations: 0 / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006485, allocations: 0 / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.006491, allocations: 4.625 kB / 0.8815 GB, free: 2.938 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.0004783/0.006969, allocations: 448.2 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.007014, allocations: 8.031 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.007251, allocations: 25.64 kB / 0.8819 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.00762, allocations: 113.4 kB / 0.882 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.00764, allocations: 8.375 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.007669, allocations: 384 / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.007839, allocations: 90.17 kB / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007847, allocations: 192 / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.00786, allocations: 4.375 kB / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.007868, allocations: 384 / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.007922, allocations: 31.8 kB / 0.8822 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.008083, allocations: 128.6 kB / 0.8823 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.008296, allocations: 51.05 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.008338, allocations: 23.77 kB / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.008357, allocations: 4 kB / 0.8824 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.008384, allocations: 33.39 kB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.008385, allocations: 0 / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.001199/0.009584, allocations: 341.4 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.009615, allocations: 55.34 kB / 0.8828 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.009727, allocations: 189.3 kB / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.009746, allocations: 29.7 kB / 0.883 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.009798, allocations: 134.8 kB / 0.8831 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.009828, allocations: 19.86 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.009891, allocations: 39.36 kB / 0.8832 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01003, allocations: 496.1 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.0101, allocations: 35.98 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.01016, allocations: 35.98 kB / 0.8837 GB, free: 420 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01029, allocations: 78.77 kB / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01029, allocations: 0 / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000218/0.01051, allocations: 133.5 kB / 0.8839 GB, free: 200 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01053, allocations: 4 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.01054, allocations: 4 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01056, allocations: 0 / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.01066, allocations: 16.31 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01067, allocations: 3.938 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.01072, allocations: 15.98 kB / 0.884 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01073, allocations: 0 / 0.884 GB, free: 156 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 9.403e-05/0.01082, allocations: 156.6 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.01085, allocations: 11.94 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.01088, allocations: 8.422 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01088, allocations: 0 / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01089, allocations: 3.938 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01089, allocations: 3.984 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.01136, allocations: 345.1 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01136, allocations: 4.031 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.01146, allocations: 19.92 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01146, allocations: 7.938 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01147, allocations: 4.062 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01147, allocations: 4 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01148, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.01175, allocations: 255.5 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.01178, allocations: 11.98 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.0118, allocations: 3.938 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.01189, allocations: 8.031 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.01191, allocations: 7.922 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01192, allocations: 4 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.01198, allocations: 135.2 kB / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01198, allocations: 0 / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002983/0.01228, allocations: 35.92 kB / 0.8849 GB, free: 15.06 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.0001635/0.01244, allocations: 103.2 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.01266, allocations: 105.3 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01267, allocations: 0 / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.01273, allocations: 43.61 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.0003096/0.01304, allocations: 13.86 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.01384, allocations: 238.1 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.01389, allocations: 63.34 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.01394, allocations: 8 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.01399, allocations: 16.48 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01399, allocations: 0 / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.0045/0.01849, allocations: 1.804 MB / 0.8873 GB, free: 12.64 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.776020143181086]