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.001406/0.001406, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001579/0.001579, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.157/1.157, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.239/2.239, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.756e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001813/0.00183, allocations: 1.427 MB / 0.8808 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003096, allocations: 0.8991 MB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.003137, allocations: 0 / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.003161, allocations: 3.938 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.003217, allocations: 16.97 kB / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.003752, allocations: 219.8 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.003832, allocations: 43.78 kB / 0.882 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.003897, allocations: 4 kB / 0.882 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.003974, allocations: 31.91 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.004027, allocations: 4 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004042, allocations: 4 kB / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.004447, allocations: 383.4 kB / 0.8824 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.004465, allocations: 4 kB / 0.8824 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.004488, allocations: 19.92 kB / 0.8824 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.004798, allocations: 307.1 kB / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.0048, allocations: 0 / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.31e-07/0.004801, allocations: 0 / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.004805, allocations: 0 / 0.8827 GB, free: 2.664 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.0003688/0.005174, allocations: 447.6 kB / 0.8831 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.005211, allocations: 16.02 kB / 0.8831 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.005386, allocations: 20.88 kB / 0.8831 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/0.005484, allocations: 112.6 kB / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.005499, allocations: 4.375 kB / 0.8833 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.005516, allocations: 12.31 kB / 0.8833 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.005636, allocations: 80.64 kB / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005643, allocations: 192 / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.005652, allocations: 4.375 kB / 0.8834 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005657, allocations: 384 / 0.8834 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.005693, allocations: 23.86 kB / 0.8834 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.005822, allocations: 113.2 kB / 0.8835 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.005974, allocations: 47.09 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.005999, allocations: 19.77 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.006012, allocations: 4 kB / 0.8836 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.006039, allocations: 37.39 kB / 0.8836 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.006042, allocations: 3.984 kB / 0.8836 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0008376/0.006879, allocations: 317.5 kB / 0.8839 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.006911, allocations: 51.41 kB / 0.8839 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.007008, allocations: 193.1 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.007023, allocations: 29.7 kB / 0.8842 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.00707, allocations: 138.8 kB / 0.8843 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.007095, allocations: 19.8 kB / 0.8843 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.007139, allocations: 39.34 kB / 0.8843 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.007263, allocations: 0.4884 MB / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.007296, allocations: 23.98 kB / 0.8848 GB, free: 232 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.007328, allocations: 23.98 kB / 0.8849 GB, free: 208 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.007404, allocations: 67.09 kB / 0.8849 GB, free: 140 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007405, allocations: 4 kB / 0.8849 GB, free: 136 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001265/0.007532, allocations: 113.5 kB / 0.885 GB, free: 16 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.007544, allocations: 8 kB / 0.885 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.00756, allocations: 4 kB / 0.8851 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.007572, allocations: 0 / 0.8851 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.007656, allocations: 16.05 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.007659, allocations: 0 / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.007696, allocations: 11.88 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.007705, allocations: 3.984 kB / 0.8851 GB, free: 15.97 MB / 0.8542 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 7.027e-05/0.007775, allocations: 156.6 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.00779, allocations: 15.89 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.007815, allocations: 4.438 kB / 0.8853 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007817, allocations: 4 kB / 0.8853 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.00782, allocations: 3.938 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.007824, allocations: 3.938 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.008125, allocations: 317.8 kB / 0.8856 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008127, allocations: 0 / 0.8856 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.008187, allocations: 19.92 kB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.008189, allocations: 0 / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008198, allocations: 7.984 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0082, allocations: 0 / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.008202, allocations: 3.938 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.008381, allocations: 247.6 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.008402, allocations: 11.94 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.008415, allocations: 3.984 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.008467, allocations: 8 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.008486, allocations: 7.875 kB / 0.8859 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.008499, allocations: 12.11 kB / 0.8859 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.008538, allocations: 131.2 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008538, allocations: 0 / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001808/0.008719, allocations: 28 kB / 0.886 GB, free: 14.93 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.0001143/0.008833, allocations: 123.2 kB / 0.8861 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.00897, allocations: 89.36 kB / 0.8862 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008971, allocations: 3.938 kB / 0.8862 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.009001, allocations: 23.67 kB / 0.8863 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.009187, allocations: 15.98 kB / 0.8863 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.009794, allocations: 234.5 kB / 0.8865 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.009837, allocations: 67.34 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.258e-05/0.00988, allocations: 8 kB / 0.8866 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.009967, allocations: 82.19 kB / 0.8866 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.009968, allocations: 0 / 0.8866 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of Templates: time 0.003437/0.0134, allocations: 2.007 MB / 0.8886 GB, free: 12.27 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.973534857854247]