Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.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.0009087/0.0009087, allocations: 83.67 kB / 20.99 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.003298/0.003298, allocations: 154.8 kB / 24.44 MB, free: 9.227 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.9527/0.9527, allocations: 177.2 MB / 204.9 MB, free: 5.453 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.268/2.268, 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_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8412 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.375e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.001667/0.001681, allocations: 1.496 MB / 0.8427 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002708, allocations: 0.9848 MB / 0.8437 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.002744, allocations: 0 / 0.8437 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.002763, allocations: 7.938 kB / 0.8437 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.002809, allocations: 7.922 kB / 0.8437 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.003346, allocations: 266.7 kB / 0.8439 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.00342, allocations: 59.78 kB / 0.844 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.003457, allocations: 3.984 kB / 0.844 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.00351, allocations: 43.83 kB / 0.844 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.003558, allocations: 15.92 kB / 0.8441 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.003572, allocations: 4 kB / 0.8441 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.0041, allocations: 0.5032 MB / 0.8445 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.004119, allocations: 15.97 kB / 0.8446 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.004144, allocations: 19.92 kB / 0.8446 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.004451, allocations: 343 kB / 0.8449 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004453, allocations: 0 / 0.8449 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004454, allocations: 4 kB / 0.8449 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.004457, allocations: 0 / 0.8449 GB, free: 8.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003051/0.004762, allocations: 331.9 kB / 0.8452 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.004789, allocations: 8.031 kB / 0.8452 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.004814, allocations: 12.86 kB / 0.8452 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.082e-05/0.004885, allocations: 113.7 kB / 0.8454 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.004894, allocations: 4.375 kB / 0.8454 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.004916, allocations: 8.375 kB / 0.8454 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.004996, allocations: 97.62 kB / 0.8455 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005005, allocations: 192 / 0.8455 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.005013, allocations: 8.125 kB / 0.8455 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.005021, allocations: 8 kB / 0.8455 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.005042, allocations: 11.94 kB / 0.8455 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.541e-05/0.005128, allocations: 68.98 kB / 0.8456 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.005199, allocations: 54.61 kB / 0.8456 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.005218, allocations: 12.86 kB / 0.8456 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.00523, allocations: 4 kB / 0.8456 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.00525, allocations: 34.56 kB / 0.8457 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.01e-07/0.00525, allocations: 0 / 0.8457 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007537/0.006004, allocations: 489.8 kB / 0.8461 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.00603, allocations: 55.41 kB / 0.8462 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.006096, allocations: 126.6 kB / 0.8463 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006109, allocations: 29.7 kB / 0.8463 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.006131, allocations: 88.41 kB / 0.8464 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.006158, allocations: 43.64 kB / 0.8465 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.006195, allocations: 37.67 kB / 0.8465 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.006396, allocations: 322.8 kB / 0.8468 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.00642, allocations: 20 kB / 0.8468 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.006444, allocations: 21.88 kB / 0.8468 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.006508, allocations: 74 kB / 0.8469 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006509, allocations: 0 / 0.8469 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.215e-05/0.006601, allocations: 106.7 kB / 0.847 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.006612, allocations: 6.031 kB / 0.847 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.006622, allocations: 0 / 0.847 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.00663, allocations: 4 kB / 0.847 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.006699, allocations: 31.92 kB / 0.847 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006702, allocations: 0 / 0.847 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.006721, allocations: 7.938 kB / 0.8471 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.006728, allocations: 4 kB / 0.8471 GB, free: 6.461 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 (14): * Single equations (assignments): 13 * 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 4.922e-05/0.006777, allocations: 109.8 kB / 0.8472 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.006789, allocations: 8 kB / 0.8472 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.006899, allocations: 86.03 kB / 0.8473 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006901, allocations: 4 kB / 0.8473 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.006902, allocations: 3.938 kB / 0.8473 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.006907, allocations: 3.984 kB / 0.8473 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.007112, allocations: 234.8 kB / 0.8475 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007113, allocations: 0 / 0.8475 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.00718, allocations: 23.98 kB / 0.8475 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007182, allocations: 4 kB / 0.8475 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.007188, allocations: 3.938 kB / 0.8475 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007189, allocations: 0 / 0.8475 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.00719, allocations: 0 / 0.8475 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.007317, allocations: 184.2 kB / 0.8477 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.007325, allocations: 7.953 kB / 0.8477 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.007336, allocations: 4 kB / 0.8477 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.007377, allocations: 12.03 kB / 0.8477 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.007392, allocations: 7.922 kB / 0.8477 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.007397, allocations: 4 kB / 0.8477 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.489e-05/0.007412, allocations: 24.88 kB / 0.8478 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007412, allocations: 0 / 0.8478 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002171/0.00763, allocations: 115.5 kB / 0.8479 GB, free: 5.578 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002094/0.007839, allocations: 199.8 kB / 0.8481 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.007947, allocations: 94.47 kB / 0.8481 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.007951, allocations: 4 kB / 0.8481 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.007981, allocations: 32.78 kB / 0.8482 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.008112, allocations: 12.03 kB / 0.8482 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.008534, allocations: 252.5 kB / 0.8484 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.008565, allocations: 63.34 kB / 0.8485 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.008602, allocations: 20.72 kB / 0.8485 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.008659, allocations: 67.36 kB / 0.8486 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of SimCode: time 4e-07/0.00866, allocations: 0 / 0.8486 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.003849/0.01251, allocations: 2.965 MB / 0.8515 GB, free: 1.863 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_inv_DerivativeCheck2.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.066807416267693]