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.001466/0.001466, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001974/0.001974, allocations: 173 kB / 23.49 MB, free: 1.055 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.9468/0.9468, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.116/2.116, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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.843e-06/1.843e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.362e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002431/0.002454, allocations: 1.41 MB / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.004131, allocations: 0.9197 MB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.004174, allocations: 0 / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.004199, allocations: 3.938 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.004256, allocations: 7.875 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.004954, allocations: 217.1 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.005053, allocations: 51.78 kB / 0.8808 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.005098, allocations: 4 kB / 0.8808 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.00517, allocations: 24.47 kB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.005225, allocations: 17.27 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.005245, allocations: 0 / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005989/0.005844, allocations: 379.3 kB / 0.8812 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.00587, allocations: 15.97 kB / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.0059, allocations: 13.53 kB / 0.8812 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.006359, allocations: 295.2 kB / 0.8815 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006361, allocations: 0 / 0.8815 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.82e-07/0.006362, allocations: 0 / 0.8815 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.006366, allocations: 4 kB / 0.8815 GB, free: 3.27 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.0004934/0.00686, allocations: 455.6 kB / 0.8819 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.006901, allocations: 8.031 kB / 0.8819 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.007152, allocations: 24.86 kB / 0.8819 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.007251, allocations: 116.5 kB / 0.8821 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.007265, allocations: 384 / 0.8821 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.007285, allocations: 8.375 kB / 0.8821 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.007422, allocations: 84.64 kB / 0.8821 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.007429, allocations: 192 / 0.8821 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.007439, allocations: 4.375 kB / 0.8821 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.007448, allocations: 8.359 kB / 0.8822 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.00749, allocations: 19.86 kB / 0.8822 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.00762, allocations: 132.6 kB / 0.8823 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.007791, allocations: 51.05 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.007824, allocations: 23.77 kB / 0.8824 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.007836, allocations: 0 / 0.8824 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.007859, allocations: 41.33 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.00786, allocations: 0 / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0009076/0.008768, allocations: 337.4 kB / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.008796, allocations: 59.34 kB / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.008881, allocations: 185.8 kB / 0.883 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.008894, allocations: 25.7 kB / 0.883 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.008938, allocations: 138.8 kB / 0.8831 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.008962, allocations: 19.86 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.009004, allocations: 31.36 kB / 0.8832 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.009116, allocations: 0.4923 MB / 0.8837 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.009167, allocations: 35.98 kB / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.009211, allocations: 35.98 kB / 0.8837 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/0.009306, allocations: 74.62 kB / 0.8838 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.009307, allocations: 0 / 0.8838 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001459/0.009453, allocations: 133.5 kB / 0.8839 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.009464, allocations: 4 kB / 0.8839 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.009476, allocations: 4 kB / 0.8839 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.009489, allocations: 0 / 0.8839 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.009557, allocations: 15.98 kB / 0.8839 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.009564, allocations: 8.094 kB / 0.884 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.009601, allocations: 7.984 kB / 0.884 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.009609, allocations: 4.062 kB / 0.884 GB, free: 488 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 6.715e-05/0.009677, allocations: 160.6 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.009689, allocations: 3.938 kB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.009718, allocations: 12.44 kB / 0.8841 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.009719, allocations: 0 / 0.8841 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.009724, allocations: 3.938 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.009728, allocations: 3.984 kB / 0.8841 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.0101, allocations: 353.1 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.0101, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.01016, allocations: 19.92 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01016, allocations: 0 / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01018, allocations: 7.938 kB / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01018, allocations: 3.984 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01018, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.01038, allocations: 251.5 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.0104, allocations: 11.92 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01042, allocations: 7.938 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.01048, allocations: 8.391 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.0105, allocations: 11.92 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.0105, allocations: 4 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.01054, allocations: 138.7 kB / 0.8849 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 0.8849 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001742/0.01072, allocations: 27.92 kB / 0.8849 GB, free: 15.39 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.0001187/0.01084, allocations: 111.2 kB / 0.8851 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.011, allocations: 105.3 kB / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.011, allocations: 3.938 kB / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.01104, allocations: 35.67 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.01123, allocations: 16.23 kB / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.01182, allocations: 242.1 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.01185, allocations: 59.34 kB / 0.8855 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.01189, allocations: 8 kB / 0.8855 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.01193, allocations: 16.48 kB / 0.8855 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01193, allocations: 0 / 0.8855 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.003352/0.01528, allocations: 1.8 MB / 0.8873 GB, free: 12.96 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.41608336311765]