Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.001422/0.001422, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001632/0.001632, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.013/1.013, allocations: 177.1 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.388/2.388, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] 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.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.253e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.002283/0.002296, allocations: 1.394 MB / 0.84 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003566, allocations: 0.9024 MB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.003599, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.003619, allocations: 3.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.003705, allocations: 15.84 kB / 0.8409 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.00432, allocations: 206.9 kB / 0.8411 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.004401, allocations: 35.8 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.004435, allocations: 7.984 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.004488, allocations: 19.98 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.004534, allocations: 19.92 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.004547, allocations: 4 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.005099, allocations: 375.4 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.005116, allocations: 7.938 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.00514, allocations: 11.98 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.005535, allocations: 291.1 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005537, allocations: 4 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005538, allocations: 0 / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.005541, allocations: 0 / 0.8418 GB, free: 10.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003512/0.005892, allocations: 319.9 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005925, allocations: 8.031 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.006118, allocations: 28.84 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.006207, allocations: 105.8 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.00622, allocations: 384 / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.006233, allocations: 4.312 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.006335, allocations: 54.94 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.006342, allocations: 192 / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.006349, allocations: 384 / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.006355, allocations: 384 / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.006379, allocations: 11.94 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.589e-05/0.006465, allocations: 68.94 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.006523, allocations: 30.58 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.006541, allocations: 12.86 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.006551, allocations: 0 / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.006573, allocations: 34.56 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.006574, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001084/0.006683, allocations: 41.69 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.006714, allocations: 51.53 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.00687, allocations: 137.9 kB / 0.8427 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.006881, allocations: 25.7 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.006913, allocations: 88.08 kB / 0.8428 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.006929, allocations: 7.953 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.006967, allocations: 21.69 kB / 0.8428 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.007057, allocations: 322.8 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.00708, allocations: 15.92 kB / 0.8431 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.007097, allocations: 8 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.007148, allocations: 28.89 kB / 0.8432 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.00715, allocations: 3.938 kB / 0.8432 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.726e-05/0.007238, allocations: 57.7 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.007251, allocations: 7.984 kB / 0.8432 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.007264, allocations: 4 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.007278, allocations: 0 / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.007725, allocations: 55.86 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.008749, allocations: 1.244 MB / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.008787, allocations: 15.89 kB / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.008795, allocations: 0 / 0.8445 GB, free: 7.91 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.008859, allocations: 109.8 kB / 0.8446 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.008868, allocations: 4 kB / 0.8446 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.008883, allocations: 7.609 kB / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.008884, allocations: 4.094 kB / 0.8446 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008886, allocations: 3.938 kB / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008889, allocations: 0 / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.697e-05/0.008956, allocations: 69.89 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008958, allocations: 0 / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.009453, allocations: 79.89 kB / 0.8448 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009455, allocations: 4 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.00946, allocations: 0 / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/0.01038, allocations: 1.235 MB / 0.846 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01038, allocations: 0 / 0.846 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.01045, allocations: 73.23 kB / 0.8461 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.01046, allocations: 4 kB / 0.8461 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.01046, allocations: 0 / 0.8461 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.709e-05/0.01049, allocations: 3.938 kB / 0.8461 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.01064, allocations: 11.92 kB / 0.8461 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.01065, allocations: 3.938 kB / 0.8461 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.363e-05/0.01067, allocations: 16.84 kB / 0.8461 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01067, allocations: 0 / 0.8461 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002295/0.0109, allocations: 20 kB / 0.8461 GB, free: 6.129 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.01104, allocations: 108.4 kB / 0.8462 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.01155, allocations: 102.5 kB / 0.8463 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.01156, allocations: 4 kB / 0.8463 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.01207, allocations: 96.7 kB / 0.8464 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.01218, allocations: 8 kB / 0.8464 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.01245, allocations: 136.4 kB / 0.8466 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.01248, allocations: 55.34 kB / 0.8466 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.01249, allocations: 8.062 kB / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.01254, allocations: 51.38 kB / 0.8467 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of SimCode: time 6.32e-07/0.01254, allocations: 0 / 0.8467 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of Templates: time 0.004022/0.01656, allocations: 1.585 MB / 0.8482 GB, free: 3.938 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.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.417124101892114]