Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_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.0009122/0.0009122, allocations: 83.67 kB / 20.98 MB, free: 3.32 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.006844/0.006844, allocations: 157.2 kB / 24.44 MB, free: 9.215 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.9599/0.9599, allocations: 177.2 MB / 204.9 MB, free: 5.441 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.328/2.328, allocations: 439.8 MB / 0.6849 GB, free: 12.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.554e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.002829/0.002854, allocations: 1.486 MB / 0.8427 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004495, allocations: 0.969 MB / 0.8436 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.004532, allocations: 0 / 0.8436 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.004551, allocations: 3.938 kB / 0.8436 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.004602, allocations: 11.86 kB / 0.8437 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.005288, allocations: 266.7 kB / 0.8439 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.005371, allocations: 51.78 kB / 0.844 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.005402, allocations: 3.984 kB / 0.844 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.005467, allocations: 23.97 kB / 0.844 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.00551, allocations: 15.92 kB / 0.844 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.005523, allocations: 4 kB / 0.844 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008029/0.006326, allocations: 0.5071 MB / 0.8445 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.006343, allocations: 7.938 kB / 0.8445 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.006364, allocations: 15.92 kB / 0.8445 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.00682, allocations: 347 kB / 0.8448 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.006825, allocations: 4 kB / 0.8449 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006825, allocations: 0 / 0.8449 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.006828, allocations: 0 / 0.8449 GB, free: 8.949 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.0003639/0.007192, allocations: 319.6 kB / 0.8452 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.007223, allocations: 8.031 kB / 0.8452 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.007252, allocations: 4.938 kB / 0.8452 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.00734, allocations: 117.7 kB / 0.8453 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.007352, allocations: 4.375 kB / 0.8453 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.007372, allocations: 384 / 0.8453 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.313e-05/0.007456, allocations: 71.94 kB / 0.8454 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.007463, allocations: 192 / 0.8454 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.007471, allocations: 8.125 kB / 0.8454 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007479, allocations: 0 / 0.8454 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.007502, allocations: 7.938 kB / 0.8454 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.007606, allocations: 64.98 kB / 0.8454 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.007759, allocations: 38.55 kB / 0.8455 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.007792, allocations: 16.84 kB / 0.8455 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.007806, allocations: 4.078 kB / 0.8455 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.007829, allocations: 34.56 kB / 0.8455 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.007831, allocations: 4 kB / 0.8455 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0006117/0.008443, allocations: 237.4 kB / 0.8458 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.008476, allocations: 59.28 kB / 0.8458 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.008566, allocations: 130.6 kB / 0.8459 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.008582, allocations: 25.7 kB / 0.846 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.008613, allocations: 92.12 kB / 0.846 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.008639, allocations: 19.84 kB / 0.8461 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.008685, allocations: 33.69 kB / 0.8461 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.008774, allocations: 322.8 kB / 0.8464 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.008802, allocations: 15.94 kB / 0.8464 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.008828, allocations: 16 kB / 0.8464 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.008896, allocations: 43.88 kB / 0.8465 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008897, allocations: 0 / 0.8465 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001094/0.009006, allocations: 77.61 kB / 0.8466 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.00902, allocations: 8 kB / 0.8466 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.00903, allocations: 0 / 0.8466 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.009039, allocations: 0 / 0.8466 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.009099, allocations: 16.06 kB / 0.8466 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.009103, allocations: 3.938 kB / 0.8466 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.009128, allocations: 11.98 kB / 0.8466 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.009136, allocations: 4 kB / 0.8466 GB, free: 6.98 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 6.616e-05/0.009202, allocations: 109.8 kB / 0.8467 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.009216, allocations: 4 kB / 0.8467 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.009337, allocations: 70.05 kB / 0.8468 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009339, allocations: 0 / 0.8468 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.009342, allocations: 3.938 kB / 0.8468 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009345, allocations: 0 / 0.8468 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.00958, allocations: 211.7 kB / 0.847 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.009582, allocations: 0 / 0.847 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.009652, allocations: 23.95 kB / 0.847 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009654, allocations: 3.938 kB / 0.847 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.009663, allocations: 4 kB / 0.847 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009665, allocations: 3.938 kB / 0.847 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009667, allocations: 0 / 0.847 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.009817, allocations: 160.4 kB / 0.8472 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.009846, allocations: 11.98 kB / 0.8472 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.009861, allocations: 3.984 kB / 0.8472 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.00993, allocations: 7.938 kB / 0.8472 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.009946, allocations: 7.938 kB / 0.8472 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.009952, allocations: 4.031 kB / 0.8472 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.009976, allocations: 23.59 kB / 0.8472 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009976, allocations: 0 / 0.8472 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002959/0.01027, allocations: 79.67 kB / 0.8473 GB, free: 6.199 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.0002562/0.01053, allocations: 160.2 kB / 0.8474 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.01063, allocations: 86.45 kB / 0.8475 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.01063, allocations: 0 / 0.8475 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.01065, allocations: 16.86 kB / 0.8475 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.01078, allocations: 19.98 kB / 0.8476 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.01113, allocations: 197.5 kB / 0.8478 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.01116, allocations: 63.34 kB / 0.8478 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.01119, allocations: 15.98 kB / 0.8478 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.01123, allocations: 59.36 kB / 0.8479 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.01123, allocations: 0 / 0.8479 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of Templates: time 0.003322/0.01455, allocations: 2.311 MB / 0.8501 GB, free: 3.266 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_inv_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.077984188683331]