Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0009616/0.0009616, 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.006011/0.006011, allocations: 150.9 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.9328/0.9328, 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.338/2.338, allocations: 439.8 MB / 0.6848 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.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.212e-05, allocations: 6.25 kB / 0.8412 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.005681/0.005713, allocations: 1.428 MB / 0.8426 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.006866, allocations: 0.607 MB / 0.8432 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.006917, allocations: 0 / 0.8432 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.006945, allocations: 0 / 0.8432 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.007, allocations: 3.938 kB / 0.8432 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.007717, allocations: 159.2 kB / 0.8434 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.0078, allocations: 19.88 kB / 0.8434 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.007846, allocations: 4 kB / 0.8434 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.007919, allocations: 7.984 kB / 0.8434 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.007982, allocations: 15.97 kB / 0.8434 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.007995, allocations: 0 / 0.8434 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.008518, allocations: 319.3 kB / 0.8437 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.008542, allocations: 7.922 kB / 0.8437 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.008567, allocations: 11.98 kB / 0.8437 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.00882, allocations: 159.4 kB / 0.8439 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.008823, allocations: 0 / 0.8439 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.021e-06/0.008824, allocations: 0 / 0.8439 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.008829, allocations: 4 kB / 0.8439 GB, free: 9.922 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.0003543/0.009183, allocations: 260.3 kB / 0.8442 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.00922, allocations: 8.031 kB / 0.8442 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.009248, allocations: 4.938 kB / 0.8442 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.58e-05/0.009334, allocations: 117.7 kB / 0.8443 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.009345, allocations: 384 / 0.8443 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.009372, allocations: 12.31 kB / 0.8443 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.009469, allocations: 63.95 kB / 0.8444 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.009477, allocations: 4.188 kB / 0.8444 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.009485, allocations: 384 / 0.8444 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.009496, allocations: 384 / 0.8444 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.009519, allocations: 7.938 kB / 0.8444 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.009639, allocations: 65.05 kB / 0.8444 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.009833, allocations: 34.55 kB / 0.8445 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.009865, allocations: 16.92 kB / 0.8445 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.009886, allocations: 4 kB / 0.8445 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.009921, allocations: 30.56 kB / 0.8445 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.009923, allocations: 4 kB / 0.8445 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005722/0.01049, allocations: 221.2 kB / 0.8447 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.01053, allocations: 59.34 kB / 0.8448 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.01059, allocations: 102.7 kB / 0.8449 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.0106, allocations: 25.7 kB / 0.8449 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.01063, allocations: 84.08 kB / 0.845 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.01066, allocations: 31.77 kB / 0.845 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.0107, allocations: 21.67 kB / 0.845 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.01079, allocations: 318.8 kB / 0.8453 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.0108, allocations: 8 kB / 0.8453 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.01082, allocations: 11.98 kB / 0.8454 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.01087, allocations: 20.84 kB / 0.8454 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01087, allocations: 0 / 0.8454 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.824e-05/0.01095, allocations: 49.62 kB / 0.8454 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01096, allocations: 4 kB / 0.8454 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01097, allocations: 0 / 0.8454 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.01098, allocations: 0.5156 kB / 0.8454 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.01103, allocations: 15.98 kB / 0.8454 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.01103, allocations: 0 / 0.8454 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.01105, allocations: 16 kB / 0.8455 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01106, allocations: 4 kB / 0.8455 GB, free: 8.137 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 6.867e-05/0.01112, allocations: 105.8 kB / 0.8456 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.01114, allocations: 4 kB / 0.8456 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.01124, allocations: 65.73 kB / 0.8456 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01124, allocations: 3.984 kB / 0.8456 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.01124, allocations: 0 / 0.8456 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01125, allocations: 0 / 0.8456 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.01146, allocations: 207.6 kB / 0.8458 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01146, allocations: 0 / 0.8458 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.01152, allocations: 23.95 kB / 0.8459 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01152, allocations: 0 / 0.8459 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.01153, allocations: 0 / 0.8459 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01153, allocations: 0 / 0.8459 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.01153, allocations: 4.234 kB / 0.8459 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.01167, allocations: 160.3 kB / 0.846 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.01169, allocations: 4 kB / 0.846 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.0117, allocations: 4 kB / 0.846 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.01176, allocations: 4 kB / 0.846 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.01178, allocations: 11.86 kB / 0.846 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.01178, allocations: 4 kB / 0.846 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.0118, allocations: 8.891 kB / 0.846 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.0118, allocations: 3.938 kB / 0.846 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002655/0.01206, allocations: 43.8 kB / 0.8461 GB, free: 7.43 MB / 0.8073 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.000247/0.01231, allocations: 128.2 kB / 0.8462 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.948e-05/0.0124, allocations: 32.83 kB / 0.8462 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.0124, allocations: 0 / 0.8462 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.01243, allocations: 24.98 kB / 0.8463 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.01259, allocations: 6.438 kB / 0.8463 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.01312, allocations: 185.4 kB / 0.8465 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.01315, allocations: 59.34 kB / 0.8465 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.01318, allocations: 4 kB / 0.8465 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.01323, allocations: 63.36 kB / 0.8466 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01323, allocations: 0 / 0.8466 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of Templates: time 0.003545/0.01678, allocations: 1.06 MB / 0.8476 GB, free: 5.855 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.126574784517288]