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.0009153/0.0009153, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009363/0.0009363, allocations: 177 kB / 23.36 MB, free: 1.129 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.9549/0.9549, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.267/2.267, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.292e-06/1.292e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.922e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001595/0.001614, allocations: 1.399 MB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.002516, allocations: 0.918 MB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.002548, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.002565, allocations: 3.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.002613, allocations: 7.875 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.003093, allocations: 218.9 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.00316, allocations: 47.78 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.003193, allocations: 7.922 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.003248, allocations: 23.92 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.003292, allocations: 19.97 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.003304, allocations: 4 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.003674, allocations: 383.4 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.003688, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.003708, allocations: 19.92 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.004229, allocations: 295.1 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004231, allocations: 0 / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004231, allocations: 0 / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.004234, allocations: 0 / 0.8419 GB, free: 10.8 MB / 0.8073 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.0002955/0.00453, allocations: 323.9 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.004558, allocations: 8.625 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.004701, allocations: 32.84 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.004774, allocations: 117.7 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004784, allocations: 384 / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.004801, allocations: 8.328 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.004898, allocations: 80.64 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004904, allocations: 192 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004912, allocations: 4.375 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004917, allocations: 384 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.004946, allocations: 15.92 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.194e-05/0.005028, allocations: 72.92 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.00515, allocations: 46.55 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.005171, allocations: 16.94 kB / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.005179, allocations: 0 / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.005199, allocations: 34.56 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.0052, allocations: 3.984 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0009026/0.006103, allocations: 345 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.006128, allocations: 55.41 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.006188, allocations: 130.5 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006201, allocations: 29.7 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.006222, allocations: 84.12 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.006245, allocations: 23.84 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.006284, allocations: 33.67 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.006349, allocations: 322.8 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.006376, allocations: 19.98 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.006401, allocations: 20 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/0.006462, allocations: 64.27 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006463, allocations: 0 / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.592e-05/0.006549, allocations: 89.61 kB / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.006558, allocations: 8 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.006566, allocations: 0 / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.006576, allocations: 0 / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.006634, allocations: 15.98 kB / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006637, allocations: 4.156 kB / 0.8438 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.006669, allocations: 11.94 kB / 0.8438 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006676, allocations: 0 / 0.8438 GB, free: 8.625 MB / 0.8073 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.27e-05/0.006729, allocations: 113.8 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.006738, allocations: 4 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.006759, allocations: 12.38 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.00676, allocations: 0 / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006762, allocations: 0 / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006764, allocations: 0 / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.007023, allocations: 239.6 kB / 0.8441 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007025, allocations: 4 kB / 0.8442 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.007079, allocations: 15.92 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007081, allocations: 7.938 kB / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.007089, allocations: 4 kB / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007091, allocations: 3.984 kB / 0.8442 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007092, allocations: 128 / 0.8442 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.007222, allocations: 180.3 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.00724, allocations: 7.953 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007252, allocations: 4.047 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.007302, allocations: 12 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.007317, allocations: 11.88 kB / 0.8444 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.007323, allocations: 3.984 kB / 0.8444 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.49e-05/0.007337, allocations: 24.08 kB / 0.8444 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007337, allocations: 0 / 0.8444 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001486/0.007486, allocations: 31.94 kB / 0.8444 GB, free: 7.906 MB / 0.8073 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.0001018/0.007588, allocations: 92.41 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.007689, allocations: 86.53 kB / 0.8446 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007691, allocations: 4 kB / 0.8446 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.007717, allocations: 28.78 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.007853, allocations: 14.23 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.008323, allocations: 233.9 kB / 0.8449 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.008354, allocations: 59.34 kB / 0.8449 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.008387, allocations: 8 kB / 0.8449 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.00846, allocations: 67.36 kB / 0.845 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.00846, allocations: 0 / 0.845 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.003035/0.0115, allocations: 1.972 MB / 0.8469 GB, free: 5.297 MB / 0.8073 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.088032915722579]