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.001036/0.001036, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009495/0.0009495, allocations: 169 kB / 23.27 MB, free: 1.223 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.953/0.953, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.394/2.394, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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 2.184e-06/2.184e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.557e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.002838/0.002873, allocations: 1.422 MB / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004205, allocations: 0.8949 MB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.004247, allocations: 0 / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.004273, allocations: 7.922 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.004338, allocations: 7.922 kB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.004979, allocations: 226.8 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.005064, allocations: 39.8 kB / 0.8923 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.005104, allocations: 11.92 kB / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.005173, allocations: 19.98 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.005229, allocations: 19.91 kB / 0.8924 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.005243, allocations: 4 kB / 0.8924 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.005787, allocations: 375.4 kB / 0.8927 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.005804, allocations: 3.984 kB / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.005828, allocations: 23.92 kB / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.006313, allocations: 295.2 kB / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006317, allocations: 0 / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006318, allocations: 0 / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.006322, allocations: 0 / 0.893 GB, free: 6.352 MB / 0.8542 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.0004602/0.006782, allocations: 455.6 kB / 0.8935 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.006827, allocations: 8.625 kB / 0.8935 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.007042, allocations: 20.88 kB / 0.8935 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.007134, allocations: 120.5 kB / 0.8936 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.007149, allocations: 384 / 0.8936 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.007166, allocations: 4.375 kB / 0.8936 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.007315, allocations: 88.64 kB / 0.8937 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.007323, allocations: 192 / 0.8937 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.007331, allocations: 4.375 kB / 0.8937 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.007337, allocations: 384 / 0.8937 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.007373, allocations: 15.92 kB / 0.8937 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.007509, allocations: 113.1 kB / 0.8938 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.00768, allocations: 59.02 kB / 0.8939 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.007707, allocations: 15.69 kB / 0.8939 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.007722, allocations: 4 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.007747, allocations: 37.47 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.007749, allocations: 0 / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0009793/0.008728, allocations: 317.8 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.008752, allocations: 55.34 kB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.008835, allocations: 191.5 kB / 0.8945 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.008846, allocations: 29.64 kB / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.008904, allocations: 134.9 kB / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.008928, allocations: 27.8 kB / 0.8947 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.008971, allocations: 39.34 kB / 0.8947 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.009075, allocations: 496.1 kB / 0.8952 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.009107, allocations: 23.98 kB / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.009138, allocations: 23.98 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.009208, allocations: 74.12 kB / 0.8953 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.009209, allocations: 0 / 0.8953 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001191/0.009328, allocations: 109.6 kB / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.009339, allocations: 4 kB / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.009352, allocations: 11.98 kB / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.009362, allocations: 0 / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.009438, allocations: 15.98 kB / 0.8954 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.00944, allocations: 0 / 0.8954 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.009477, allocations: 7.938 kB / 0.8954 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.009484, allocations: 4 kB / 0.8954 GB, free: 3.656 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 5.928e-05/0.009543, allocations: 156.6 kB / 0.8956 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.009557, allocations: 7.953 kB / 0.8956 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.009584, allocations: 12.42 kB / 0.8956 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009586, allocations: 0 / 0.8956 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.009587, allocations: 4 kB / 0.8956 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009591, allocations: 3.938 kB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.009879, allocations: 329.7 kB / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00988, allocations: 0 / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.009935, allocations: 15.98 kB / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.009937, allocations: 0 / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.009943, allocations: 4 kB / 0.8959 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.009944, allocations: 0 / 0.8959 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.009947, allocations: 7.875 kB / 0.8959 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.01011, allocations: 247.6 kB / 0.8962 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.01013, allocations: 11.94 kB / 0.8962 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.01015, allocations: 0 / 0.8962 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/0.0102, allocations: 4 kB / 0.8962 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.01022, allocations: 11.92 kB / 0.8962 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01022, allocations: 4 kB / 0.8962 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.238e-05/0.01032, allocations: 142.1 kB / 0.8963 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 0.8963 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001729/0.01049, allocations: 27.94 kB / 0.8964 GB, free: 2.617 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.000133/0.01062, allocations: 123.2 kB / 0.8965 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01074, allocations: 89.34 kB / 0.8966 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01075, allocations: 0 / 0.8966 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.01078, allocations: 39.59 kB / 0.8966 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01096, allocations: 11.98 kB / 0.8966 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.01144, allocations: 234.4 kB / 0.8969 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.01147, allocations: 59.34 kB / 0.8969 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.01151, allocations: 8 kB / 0.8969 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.01158, allocations: 82.19 kB / 0.897 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01158, allocations: 0 / 0.897 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of Templates: time 0.003086/0.01466, allocations: 1.957 MB / 0.8989 GB, free: 15.98 MB / 0.8698 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.301523974630982]